CVE-2024-23732 ReDoS in Embedchain

High 7.5 Published Updated

An attacker can cause a denial of service in Embedchain by submitting a long string to the JSON loader, triggering excessive CPU consumption.

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-23732?

CVE-2024-23732 is a high-severity denial of service vulnerability in n/a, published on 21 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The JSON loader in Embedchain before 0.1.57 allows a ReDoS (regular expression denial of service) via a long string to json.py.

Weakness: CWE-1333

Which versions are affected by CVE-2024-23732?

3 open source packages ship an affected version, including embedchain. It affects 1 product.

PackageAffectedFixed in
embedchain PyPIAll versions0.1.57
embedchain PyPIAll versions0.1.57
embedchain PyPIAll versions0.1.57

Products include Embedchain Embedchain.

How do I fix CVE-2024-23732?

Upgrade embedchain to 0.1.57 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-23732 being exploited?

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

Sources

Also known as GHSA-r67w-f99w-mgxj, PYSEC-2024-8.

Is CVE-2024-23732 in your software?

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

Check your SBOMs for free