GraphHopper is an open-source Java routing engine. In GrassHopper from version 2.0 and before version 2.4, there is a regular expression injection vulnerability that may lead to Denial of Service. This has been patched in 2.4 and 3.0 See this pull request for the fix: https://github.com/graphhopper/graphhopper/pull/2304
[
{
"digest": {
"function_hash": "36142885775801880923327535353616592987",
"length": 411.0
},
"target": {
"function": "getPointsFromRequest",
"file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41",
"id": "CVE-2021-29506-7ef0e41e"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"189626477168851777122880960144033487883",
"137275567613185398488357888955700532385",
"327134461445047257875801787977154168807",
"323202411778049434703774547551118540250",
"212398785548982498557687372389225794540",
"185973443862456284605407239049739654715",
"259759268823146020648102035072435108275"
]
},
"target": {
"file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41",
"id": "CVE-2021-29506-c7eec5f0"
}
]