Skip to content

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

HighCVSS 7.5 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 10 fixed.

PackageAffectedFixed inStatus
alpine/suricata(Alpine v3.20) < 7.0.7-r0 7.0.7-r0 Fixed
alpine/suricata(Alpine v3.21) < 7.0.7-r0 7.0.7-r0 Fixed
alpine/suricata(Alpine v3.22) < 7.0.7-r0 7.0.7-r0 Fixed
alpine/suricata(Alpine v3.23) < 7.0.7-r0 7.0.7-r0 Fixed
alpine/suricata(Alpine v3.24) < 7.0.7-r0 7.0.7-r0 Fixed
debian/libhtp(Debian 12) < 1:0.5.42-1+deb12u1; = 1:0.5.42-1 1:0.5.42-1+deb12u1 Fixed
debian/libhtp(Debian 13) < 1:0.5.49-1 1:0.5.49-1 Fixed
OISF libhtp < 0.5.49; = < 0.5.49 0.5.49 Fixed
ubuntu/libhtp(Ubuntu 22.04) < 1:0.5.39-1ubuntu0.1~esm1 1:0.5.39-1ubuntu0.1~esm1 Fixed
ubuntu/libhtp(Ubuntu 24.04) < 1:0.5.46-1ubuntu2+esm1 1:0.5.46-1ubuntu2+esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/libhtp(Debian:12) < 1:0.5.42-1+deb12u1 1:0.5.42-1+deb12u1
debian/libhtp(Debian:12) = 1:0.5.42-1 No fix listed
debian/libhtp(Debian:13) < 1:0.5.49-1 1:0.5.49-1
ubuntu/libhtp(Ubuntu:22.04) < 1:0.5.39-1ubuntu0.1~esm1 1:0.5.39-1ubuntu0.1~esm1
OISF libhtp = < 0.5.49 No fix listed
OISF libhtp < 0.5.49 0.5.49
alpine/suricata(Alpine:v3.20) < 7.0.7-r0 7.0.7-r0
alpine/suricata(Alpine:v3.21) < 7.0.7-r0 7.0.7-r0
alpine/suricata(Alpine:v3.22) < 7.0.7-r0 7.0.7-r0
alpine/suricata(Alpine:v3.23) < 7.0.7-r0 7.0.7-r0
alpine/suricata(Alpine:v3.24) < 7.0.7-r0 7.0.7-r0
ubuntu/libhtp(Ubuntu:24.04) < 1:0.5.46-1ubuntu2+esm1 1:0.5.46-1ubuntu2+esm1

References