CVE-2023-4043 Parsson DoS when parsing numbers from untrusted sources
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
org.eclipse.parsson:project Maven | All versions | 1.0.5 |
org.eclipse.parsson:project Maven | All versions | 1.0.5 |
org.eclipse.parsson:project Maven | From 1.1.0 | 1.1.4 |
org.eclipse.parsson:project Maven | From 1.1.0 | 1.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.
Other vulnerabilities in Eclipse Foundation Parsson
Sources
Also known as GHSA-g8p6-p27c-52fx.