mapbox / mapbox/mapbox-gl-geocoder
Transitive dependency on vulnerable got version
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
`@mapbox/mapbox-gl-geocoder@5.0.1 requires got@^10.7.0 via a transitive dependency on @mapbox/mapbox-sdk@0.13.3`.
The got package before 11.8.5 and 12.1.0 for Node.js allows a redirect to a UNIX socket. https://security.snyk.io/package/npm/got
Updating `@mapbox/mapbox-sdk` to version 0.13.5 should resolve the issue since it uses `got@^11.8.5`.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the repository's dependency declarations and lockfile to see how @mapbox/mapbox-sdk and got are resolved. Verify that updating @mapbox/mapbox-sdk to 0.13.5 selects a non-vulnerable got version, then run the existing project checks. Done means the vulnerable transitive version is no longer present without breaking the package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100