{"id":"CVE-2023-24021","details":"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.","aliases":["BIT-modsecurity-2023-24021","BIT-modsecurity2-2023-24021"],"modified":"2026-04-10T04:55:43.920616Z","published":"2023-01-20T19:15:18.593Z","related":["MGASA-2023-0175","SUSE-SU-2023:0431-1","SUSE-SU-2023:0447-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/"},{"type":"ADVISORY","url":"https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html"},{"type":"FIX","url":"https://github.com/SpiderLabs/ModSecurity/pull/2857"},{"type":"FIX","url":"https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/owasp-modsecurity/ModSecurity","events":[{"introduced":"0"},{"fixed":"053965529cb6993fbeb931e6760097e66936fd81"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.9.7"}]}},{"type":"GIT","repo":"https://github.com/owasp-modsecurity/modsecurity","events":[{"introduced":"0"},{"fixed":"053965529cb6993fbeb931e6760097e66936fd81"}]}],"versions":["v2.7.4","v2.9.0","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.1-rc1","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-24021.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}