| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-3283-1 | 
| Debian Bugs | 1029329 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| modsecurity-apache (PTS) | bullseye | 2.9.3-3+deb11u2 | fixed | 
| bullseye (security) | 2.9.3-3+deb11u5 | fixed | |
| bookworm, bookworm (security) | 2.9.7-1+deb12u1 | fixed | |
| trixie | 2.9.11-1 | fixed | |
| forky, sid | 2.9.12-2 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| modsecurity-apache | source | buster | 2.9.3-1+deb10u2 | DLA-3283-1 | ||
| modsecurity-apache | source | bullseye | 2.9.3-3+deb11u2 | |||
| modsecurity-apache | source | (unstable) | 2.9.7-1 | 1029329 | 
https://github.com/SpiderLabs/ModSecurity/pull/2857
https://github.com/SpiderLabs/ModSecurity/commit/4324f0ac59f8225aa44bc5034df60dbeccd1d334 (v2.9.7)