mapbox / mapbox/mapbox-java

High CVE's in retrofit 2.7.2 dependency

Open Beginner friendly
#1,640 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
438
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Our customer's security team has raised an issue regarding the Mapbox Java SDK. It appears that mapbox-sdk-core 7.10.1 relies on retrofit 2.7.2 (from February 2020), which contains seven known vulnerabilities:

CVE-2026-24400, CVE-2023-2976, CVE-2022-24329, CVE-2021-0341, CVE-2020-8908, CVE-2020-29582, and CVE-2020-15250.

Please upgrade the dependency to the fixed one 3.0
// Source: https://mvnrepository.com/artifact/com.squareup.retrofit2/retrofit
implementation("com.squareup.retrofit2:retrofit:3.0.0")

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a build file or test, so first locate the declaration for com.squareup.retrofit2:retrofit and inspect how dependencies are tested in this repository. Run the existing test suite before and after updating it to 3.0.0; done means the fixed version is used and the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.