CVE-2023-24021
published high CVSS 3.1 · 7.5modsecurity: lacking the complete content in FILES_TMP_CONTENT leads to web application firewall bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2098 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | modsecurity-apache | Advisory build | 2.9.3-1+deb10u2 | DLA-3283-1 |
| SUSE / openSUSE | SLE-15-SP1 | apache2-mod_security2aarch64 | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| Ubuntu | bionic | libapache2-mod-security2 | Advisory build | 2.9.2-1ubuntu0.1~esm1 | USN-6370-1 |
| Amazon Linux | AL2 | mod_securityaarch64 | Listed in advisory | Not stated | ALAS2-2023-2098 |
| SUSE / openSUSE | SLE-15-SP1 | apache2-mod_security2ppc64le | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP1 | apache2-mod_security2s390x | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP1 | apache2-mod_security2x86_64 | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_security2aarch64 | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_security2ppc64le | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_security2s390x | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_security2x86_64 | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_security2aarch64 | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_security2ppc64le | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_security2s390x | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_security2x86_64 | Advisory build | 2.9.2-150000.3.9.1 | SUSE-SU-2023:0447-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_security2aarch64 | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_security2ppc64le | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_security2s390x | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_security2x86_64 | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_security2aarch64 | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_security2ppc64le | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_security2s390x | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_security2x86_64 | Advisory build | 2.9.4-150400.3.6.1 | SUSE-SU-2023:0431-1 |
| Ubuntu | bionic | modsecurity-apache | Advisory build | 2.9.2-1ubuntu0.1~esm1 | USN-6370-1 |
| Ubuntu | focal | libapache2-mod-security2 | Advisory build | 2.9.3-1ubuntu0.1 | USN-6370-1 |
| Ubuntu | focal | modsecurity-apache | Advisory build | 2.9.3-1ubuntu0.1 | USN-6370-1 |
| Ubuntu | jammy | libapache2-mod-security2 | Advisory build | 2.9.5-1ubuntu0.1~esm1 | USN-6370-1 |
| Ubuntu | jammy | modsecurity-apache | Advisory build | 2.9.5-1ubuntu0.1~esm1 | USN-6370-1 |
| Ubuntu | xenial | libapache2-mod-security2 | Advisory build | 2.9.0-1ubuntu0.1~esm1 | USN-6370-1 |
| Ubuntu | xenial | libapache2-modsecurity | Advisory build | 2.9.0-1ubuntu0.1~esm1 | USN-6370-1 |
| Ubuntu | xenial | modsecurity-apache | Advisory build | 2.9.0-1ubuntu0.1~esm1 | USN-6370-1 |
| Amazon Linux | AL2 | mod_securityi686 | Listed in advisory | Not stated | ALAS2-2023-2098 |
| Amazon Linux | AL2 | mod_securitysrc | Listed in advisory | Not stated | ALAS2-2023-2098 |
| Amazon Linux | AL2 | mod_securityx86_64 | Listed in advisory | Not stated | ALAS2-2023-2098 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-170 CWE-170 Improper Null Termination
References
7- https://github.com/SpiderLabs/ModSecurity/pull/2857
- https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334
- https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7
- [debian-lts-announce] 20230126 [SECURITY] [DLA 3283-1] modsecurity-apache security update https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html
- FEDORA-2023-09f0496e60 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/
- FEDORA-2023-bc61f7a145 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/
- FEDORA-2023-8aa264d5c5 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc520030e4b5d6add1ccb2c57650bc14d98755c997219f299934a88c910f6428
- Ingested
- 23 Sep 2026, 08:06:35 UTC
- Source record
- Official CVE record