CVE-2023-24021

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.
References
Link Resource
https://github.com/SpiderLabs/ModSecurity/pull/2857 Issue Tracking Patch
https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334 Patch
https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7 Release Notes
https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/
https://github.com/SpiderLabs/ModSecurity/pull/2857 Issue Tracking Patch
https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334 Patch
https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7 Release Notes
https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/
Configurations

Configuration 1 (hide)

cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

02 Apr 2025, 17:15

Type Values Removed Values Added
CWE CWE-170

Information

Published : 2023-01-20 19:15

Updated : 2025-04-02 17:15


NVD link : CVE-2023-24021

Mitre link : CVE-2023-24021

CVE.ORG link : CVE-2023-24021


JSON object : View

Products Affected

trustwave

  • modsecurity

debian

  • debian_linux
CWE
NVD-CWE-Other CWE-170

Improper Null Termination