CVE-2023-42276 hutool Buffer Overflow vulnerability

Critical 9.8 Published Updated

A buffer overflow in the Hutool Java library's jsonArray component allows attackers to potentially execute code or cause denial of service.

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

What is CVE-2023-42276?

CVE-2023-42276 is a critical memory corruption vulnerability in n/a, published on 8 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

hutool v5.8.21 was discovered to contain a buffer overflow via the component jsonArray.

Weakness: CWE-120

Which versions are affected by CVE-2023-42276?

4 open source packages ship an affected version, including cn.hutool:hutool-core and cn.hutool:hutool-json. It affects 1 product.

PackageAffectedFixed in
cn.hutool:hutool-core MavenAll versions to 5.8.21None
cn.hutool:hutool-core MavenAll versions to 5.8.21None
cn.hutool:hutool-json MavenAll versions to 5.8.21None
cn.hutool:hutool-json MavenAll versions to 5.8.21None

Products include Hutool Hutool.

How do I fix CVE-2023-42276?

No fix has been published for CVE-2023-42276 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-42276 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42276 exists.

Sources

Also known as GHSA-rxgf-r843-g53h.

Is CVE-2023-42276 in your software?

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

Check your SBOMs for free