CVE-2023-34624 htmlcleaner vulnerable to stack exhaustion

High 7.5 Published Updated

Attackers can cause denial of service in the htmlcleaner library by submitting crafted objects with cyclic dependencies.

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

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

Official description

An issue was discovered htmlcleaner thru = 2.28 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

Weakness: CWE-787

Which versions are affected by CVE-2023-34624?

2 open source packages ship an affected version, including net.sourceforge.htmlcleaner:htmlcleaner. It affects 1 product.

PackageAffectedFixed in
net.sourceforge.htmlcleaner:htmlcleaner MavenAll versions2.29
net.sourceforge.htmlcleaner:htmlcleaner MavenAll versions2.29

Products include Htmlcleaner Project Htmlcleaner.

How do I fix CVE-2023-34624?

Upgrade net.sourceforge.htmlcleaner:htmlcleaner to 2.29 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-34624 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-34624, DLA-3520-1, DSA-5471-1, GHSA-jv4x-j47q-6qvp, UBUNTU-CVE-2023-34624, USN-6683-1.

Is CVE-2023-34624 in your software?

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

Check your SBOMs for free