Medium
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-29506
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:43 UTC · Revision 1
Source evidence
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
osv:CVE-2021-29506
Complete source record
{
"id": "3c270ecfafa35f6e856436722eb00febc299b04f00be0d034c61bc916b551305",
"url": "https://osv.dev/vulnerability/CVE-2021-29506",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-29506",
"summary": "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",
"evidence": "osv:CVE-2021-29506",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-29506",
"aliases": [
"CVE-2021-29506",
"GHSA-hf44-3mx6-vhhw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/graphhopper/graphhopper",
"type": "GIT",
"events": [
{
"introduced": "7e3a98bd316745a7cc48ba78958624b9544e4d61"
},
{
"fixed": "3bef7ead91d01adfd4fbea459bcc62de1f0279fc"
},
{
"fixed": "eb189be1fa7443ebf4ae881e737a18f818c95f41"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:graphhopper:graphhopper:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0"
},
{
"fixed": "2.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "eb189be1fa7443ebf4ae881e737a18f818c95f41"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.3",
"3.0-pre4",
"3.0-pre3",
"3.0-pre2",
"3.0-pre1",
"2.2",
"2.1",
"2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29506.json",
"vanir_signatures": [
{
"id": "CVE-2021-29506-5a8dceed",
"digest": {
"length": 411,
"function_hash": "36142885775801880923327535353616592987"
},
"source": "https://github.com/graphhopper/graphhopper/commit/3bef7ead91d01adfd4fbea459bcc62de1f0279fc",
"target": {
"file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java",
"function": "getPointsFromRequest"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-29506-7ef0e41e",
"digest": {
"length": 411,
"function_hash": "36142885775801880923327535353616592987"
},
"source": "https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41",
"target": {
"file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java",
"function": "getPointsFromRequest"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-29506-b2a0b268",
"digest": {
"threshold": 0.9,
"line_hashes": [
"189626477168851777122880960144033487883",
"137275567613185398488357888955700532385",
"327134461445047257875801787977154168807",
"323202411778049434703774547551118540250",
"212398785548982498557687372389225794540",
"185973443862456284605407239049739654715",
"259759268823146020648102035072435108275"
]
},
"source": "https://github.com/graphhopper/graphhopper/commit/3bef7ead91d01adfd4fbea459bcc62de1f0279fc",
"target": {
"file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-29506-c7eec5f0",
"digest": {
"threshold": 0.9,
"line_hashes": [
"189626477168851777122880960144033487883",
"137275567613185398488357888955700532385",
"327134461445047257875801787977154168807",
"323202411778049434703774547551118540250",
"212398785548982498557687372389225794540",
"185973443862456284605407239049739654715",
"259759268823146020648102035072435108275"
]
},
"source": "https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41",
"target": {
"file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:20:32Z"
}
}
],
"modified": "2026-10-20T14:20:32.533424027Z",
"provider": "osv",
"references": [
"https://github.com/graphhopper/graphhopper/security/advisories/GHSA-hf44-3mx6-vhhw",
"https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41",
"https://github.com/graphhopper/graphhopper/pull/2304"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-29506",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388816,
"published_at": "2021-05-13T19:15:07.983+00:00"
}