CVE-2023-39685 hson-java vulnerable to denial of service
Attackers can cause a Denial of Service in hjson-java by supplying a crafted JSON string, affecting applications using this 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-39685?
CVE-2023-39685 is a high-severity denial of service vulnerability in n/a, published on 1 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue in hjson-java up to v3.0.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted JSON string.
Weakness: CWE-94
Which versions are affected by CVE-2023-39685?
2 open source packages ship an affected version, including org.hjson:hjson. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.hjson:hjson Maven | All versions | 3.0.1 |
org.hjson:hjson Maven | All versions | 3.0.1 |
Products include Hjson Hjson.
How do I fix CVE-2023-39685?
Upgrade org.hjson:hjson to 3.0.1 or later.
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-39685 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39685 exists.
Sources
Also known as GHSA-94w5-rf69-2h6c.