{"id":"CVE-2023-24021","aliases":["CVE-2023-24021","BIT-MODSECURITY-2023-24021","BIT-MODSECURITY2-2023-24021"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect handling of '\\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer ove…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"El manejo incorrecto de los bytes '\\0' en las cargas de archivos en ModSecurity anteriores a 2.9.7 puede permitir omisiones del Firewall de aplicaciones web y sobrelecturas del búfer en el Firewall de aplicaciones web al ejecutar reglas que leen la colección FILES_TMP_CONTENT.","source":"nvd"}],"published":"2023-01-20T00:00:00.000Z","modified":"2026-09-08T08:48:13.899Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-170"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.9.7"}],"vendor":"trustwave","product":"modsecurity","cpe":"cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.9.7"}],"ecosystem":"Bitnami","package":"modsecurity","purl":"pkg:bitnami/modsecurity","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.9.7"}],"ecosystem":"Bitnami","package":"modsecurity2","purl":"pkg:bitnami/modsecurity2","source":"bitnami"}],"references":[{"url":"https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7","tags":["article","release-notes","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/SpiderLabs/ModSecurity/pull/2857","tags":["fix","issue-tracking","patch","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334","tags":["fix","patch","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html","tags":["advisory","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24021","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-02T16:17:41.632Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-24021","url":"https://www.cve.org/CVERecord?id=CVE-2023-24021","licence":"CVE Terms of Use","modified":"2025-04-02T16:18:27.850Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-24021","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24021","licence":"Public domain","modified":"2026-06-17T05:38:29.493Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MODSECURITY-2023-24021","url":"https://osv.dev/vulnerability/BIT-MODSECURITY-2023-24021","licence":"Apache-2.0","modified":"2026-09-08T08:48:13.899Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MODSECURITY2-2023-24021","url":"https://osv.dev/vulnerability/BIT-MODSECURITY2-2023-24021","licence":"Apache-2.0","modified":"2026-09-08T08:46:34.614Z"}],"updatedAt":"2026-11-25T22:58:21.688Z","epss":{"score":0.00974,"percentile":0.63078,"date":"2026-12-01T12:00:22.000Z"}}