CVE-2024-28871 Excessive CPU used on malformed traffic

High 7.5 Published Updated

Attackers can cause excessive CPU usage and denial of service by sending malformed HTTP traffic to applications using the LibHTP 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-2024-28871?

CVE-2024-28871 is a high-severity denial of service vulnerability in OISF libhtp, published on 4 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces. Version 0.5.46 may parse malformed request traffic, leading to excessive CPU usage. Version 0.5.47 contains a patch for the issue. No known workarounds are available.

Weakness: CWE-770

Which versions are affected by CVE-2024-28871?

It affects 1 product.

Linux distribution packages (1)
libhtp openSUSE:TumbleweedAll versions0.5.48-2.1

Products include Oisf Libhtp.

How do I fix CVE-2024-28871?

Upgrade to a fixed version.

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-28871 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-28871, GHSA-ffr2-45w9-7wmg, UBUNTU-CVE-2024-28871, openSUSE-SU-2024:14016-1.

Is CVE-2024-28871 in your software?

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

Check your SBOMs for free