com.graphhopper:graphhopper-web-bundle@0.13.0-pre14 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.graphhopper:graphhopper-web-bundle package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

com.graphhopper:graphhopper-web-bundle is a GraphHopper routing engine as a web-service

Affected versions of this package are vulnerable to Prototype Pollution. The URL parser could be tricked into adding or modifying properties of Object.prototype using a constructor or __proto__ payload.

PoC by Snyk:

https://graphhopper.com/maps/?__proto__.polluted=yes

How to fix Prototype Pollution?

Upgrade com.graphhopper:graphhopper-web-bundle to version 3.2, 4.0 or higher.

[,3.2) [4.0-pre1,4.0)