CVE-2024-45797 LibHTP's unbounded header handling leads to denial service

High 7.5 Published Updated

Attackers can cause excessive CPU and memory usage in LibHTP by sending unbounded HTTP headers, leading to service slowdowns or denial of service.

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

CVE-2024-45797 is a high-severity denial of service vulnerability in OISF libhtp, published on 16 Oct 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. Prior to version 0.5.49, unbounded processing of HTTP request and response headers can lead to excessive CPU time and memory utilization, possibly leading to extreme slowdowns. This issue is addressed in 0.5.49.

Weakness: CWE-770

Which versions are affected by CVE-2024-45797?

It affects 1 product.

Products include Oisf Libhtp.

How do I fix CVE-2024-45797?

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

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

Sources

Also known as DEBIAN-CVE-2024-45797, GHSA-rqqp-24ch-248f, UBUNTU-CVE-2024-45797.

Is CVE-2024-45797 in your software?

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

Check your SBOMs for free