Name | CVE-2023-24021 |
Description | Incorrect handling of '\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer over-reads on the Web Application Firewall when executing rules that read the FILES_TMP_CONTENT collection. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3283-1, ELA-779-1 |
Debian Bugs | 1029329 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
modsecurity-apache (PTS) | jessie, jessie (lts) | 2.8.0-3+deb8u2 | fixed |
| stretch (security) | 2.9.1-2+deb9u1 | vulnerable |
| stretch (lts), stretch | 2.9.1-2+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 2.9.3-1+deb10u2 | fixed |
| bullseye | 2.9.3-3+deb11u2 | fixed |
| bullseye (security) | 2.9.3-3+deb11u1 | vulnerable |
| bookworm | 2.9.7-1 | fixed |
| sid, trixie | 2.9.8-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/SpiderLabs/ModSecurity/pull/2857
https://github.com/SpiderLabs/ModSecurity/commit/4324f0ac59f8225aa44bc5034df60dbeccd1d334 (v2.9.7)
[jessie] - modsecurity-apache <not-affected> (Vulnerable code introduced later)