CVE-2021-23408
Java vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-23408 affects the package com.graphhopper:graphhopper-web-bundle before version 3.2, and from 4.0-pre1 and before 4.0. This security issue was discovered and disclosed on July 20, 2021, where the URL parser could be tricked into adding or modifying properties of Object.prototype using a constructor or proto payload (Snyk Advisory).

Technical details

The vulnerability is classified as a Prototype Pollution issue (CWE-1321) with a CVSS v3.1 base score of 4.3 (MEDIUM) according to NVD, and 5.4 (MEDIUM) according to Snyk. The attack vector is Network-based (AV:N), with Low attack complexity (AC:L), requiring No privileges (PR:N), and User interaction (UI:R). The scope is Unchanged (S:U), with Low impact on confidentiality and no impact on integrity (NVD Database).

Impact

The vulnerability can lead to several types of attacks including Denial of Service (DoS), where Object's generic functions can be manipulated to cause service disruptions. Additionally, it could potentially enable Property Injection, where attackers can pollute properties that the codebase relies on for their informative value, including security properties such as cookies or tokens (Snyk Advisory).

Mitigation and workarounds

The vulnerability was patched in version 3.2 and version 4.0 of the graphhopper-web-bundle. Users should upgrade to these versions or higher to mitigate the risk. Additionally, general preventive measures include freezing the prototype using Object.freeze(Object.prototype), requiring schema validation of JSON input, avoiding unsafe recursive merge functions, and considering using objects without prototypes (GitHub Release).

Community reactions

The GraphHopper team responded quickly to the vulnerability by releasing version 3.2 as a security fix release, which they highly recommended users to upgrade to (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • org.apache.tika:tika-parser-pdf-module
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management