CVE-2021-23408 Prototype Pollution

Medium 5.4 Published Updated

Attackers can pollute Object.prototype via URL parser, potentially leading to code execution or application instability in GraphHopper web bundle.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-23408?

CVE-2021-23408 is a medium-severity vulnerability in com.graphhopper:graphhopper-web-bundle, published on 21 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

This affects the package com.graphhopper:graphhopper-web-bundle before 3.2, from 4.0-pre1 and before 4.0. The URL parser could be tricked into adding or modifying properties of Object.prototype using a constructor or __proto__ payload.

Weakness: CWE-1321

Which versions are affected by CVE-2021-23408?

2 open source packages ship an affected version, including com.graphhopper:graphhopper-web-bundle. It affects 1 product.

PackageAffectedFixed in
com.graphhopper:graphhopper-web-bundle MavenAll versions3.2
com.graphhopper:graphhopper-web-bundle MavenAll versions3.2

Products include Graphhopper Graphhopper.

How do I fix CVE-2021-23408?

Upgrade com.graphhopper:graphhopper-web-bundle to 3.2 or later.

Is CVE-2021-23408 being exploited?

There is no known exploitation of CVE-2021-23408 in the wild and no public exploit code.

Sources

Also known as GHSA-qhxh-9hhx-6p7v, SNYK-JAVA-COMGRAPHHOPPER-1320114.

Is CVE-2021-23408 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free