CVE-2024-23684 upokecenter CBOR Denial of Service

High 7.5 Published Updated

An attacker can cause a denial of service in applications using the upokecenter CBOR Java library by submitting maliciously crafted input.

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

What is CVE-2024-23684?

CVE-2024-23684 is a high-severity denial of service vulnerability in peteroupc:cbor, published on 19 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Inefficient algorithmic complexity in DecodeFromBytes function in com.upokecenter.cbor Java implementation of Concise Binary Object Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a denial of service by passing a maliciously crafted input. Depending on an application's use of this library, this may be a remote attacker.

Weakness: CWE-407

Which versions are affected by CVE-2024-23684?

2 open source packages ship an affected version, including com.upokecenter:cbor. It affects 1 product.

PackageAffectedFixed in
com.upokecenter:cbor MavenFrom 4.0.04.5.1
com.upokecenter:cbor MavenFrom 4.0.04.5.1

Products include Peteroupc Cbor.

How do I fix CVE-2024-23684?

Upgrade com.upokecenter:cbor to 4.5.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-2024-23684 being exploited?

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

Sources

Also known as GHSA-fj2w-wfgv-mwq6.

Is CVE-2024-23684 in your software?

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

Check your SBOMs for free