CVE-2023-4043 Parsson DoS when parsing numbers from untrusted sources

Medium 5.9 Published Updated

Attackers can cause denial of service by sending JSON with numbers that trigger excessive processing time in the Parsson library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-4043?

CVE-2023-4043 is a medium-severity denial of service vulnerability in Eclipse Foundation Parsson, published on 3 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Eclipse Parsson before versions 1.1.4 and 1.0.5, Parsing JSON from untrusted sources can lead malicious actors to exploit the fact that the built-in support for parsing numbers with large scale in Java has a number of edge cases where the input text of a number can lead to much larger processing time than one would expect.

To mitigate the risk, parsson put in place a size limit for the numbers as well as their scale.

Weakness: CWE-834, CWE-20

Which versions are affected by CVE-2023-4043?

4 open source packages ship an affected version, including org.eclipse.parsson:project. It affects 1 product.

PackageAffectedFixed in
org.eclipse.parsson:project MavenAll versions1.0.5
org.eclipse.parsson:project MavenAll versions1.0.5
org.eclipse.parsson:project MavenFrom 1.1.01.1.4
org.eclipse.parsson:project MavenFrom 1.1.01.1.4

Products include Eclipse Parsson.

How do I fix CVE-2023-4043?

Upgrade org.eclipse.parsson:project to a fixed version for your release line: 1.0.5 or 1.1.4.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-4043 being exploited?

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

Sources

Also known as GHSA-g8p6-p27c-52fx.

Is CVE-2023-4043 in your software?

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

Check your SBOMs for free