{"answers":{"affected":"2 open source packages ship an affected version, including modsecurity and modsecurity2. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-24021 in the wild and no public exploit code.","fix":"Upgrade modsecurity to 2.9.7 or later.","what":"CVE-2023-24021 is a high-severity vulnerability in Debian Debian Linux, published on 20 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-24021 and fix it if it is affected.\n\nWhat it is: CVE-2023-24021 is a high-severity vulnerability in Debian Debian Linux, published on 20 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-24021 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- modsecurity (Bitnami): affected all versions; fixed in 2.9.7\n- modsecurity2 (Bitnami): affected all versions; fixed in 2.9.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-24021/ (Markdown: https://insights.sbomify.com/CVE-2023-24021/index.md)","id":"CVE-2023-24021","markdown":"https://insights.sbomify.com/CVE-2023-24021/index.md","name":"CVE-2023-24021","record":{"aliases":["AZL-43843","AZL-44475","BIT-modsecurity-2023-24021","BIT-modsecurity2-2023-24021","DEBIAN-CVE-2023-24021","GHSA-845r-7x4c-q8qf","SUSE-SU-2023:0431-1","SUSE-SU-2023:0447-1","UBUNTU-CVE-2023-24021"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Web Application Firewall","requires_auth":"none","summary":"Attackers can bypass ModSecurity WAF protections and cause buffer over-reads by exploiting incorrect null byte handling in file uploads.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"modsecurity","vendor":"trustwave"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-170","name":"Improper Null Termination"}],"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.","ecosystems":["Bitnami","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Manager Proxy 4.2","SUSE:Manager Retail Branch Server 4.2","SUSE:Manager Server 4.2","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Security feature bypass in n/a","id":"CVE-2023-24021","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"security_feature_bypass","year":"2023"},"n_packages":20,"n_references":7,"next":{"headline":"Hard Coded Credential Crypt Vulnerability","id":"CVE-2023-24022"},"packages":[{"ecosystem":"Bitnami","fixed":["2.9.7"],"introduced":["0"],"last_affected":[],"package":"modsecurity","purl":"pkg:bitnami/modsecurity","source":"BIT-modsecurity-2023-24021"},{"ecosystem":"Bitnami","fixed":["2.9.7"],"introduced":["0"],"last_affected":[],"package":"modsecurity2","purl":"pkg:bitnami/modsecurity2","source":"BIT-modsecurity2-2023-24021"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP4","fixed":["2.9.4-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP4","source":"SUSE-SU-2023:0431-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP3","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Manager Proxy 4.2","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Manager%20Proxy%204.2","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.2","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.2","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"SUSE:Manager Server 4.2","fixed":["2.9.2-150000.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/suse/apache2-mod_security2\u0026distro=SUSE%20Manager%20Server%204.2","source":"SUSE-SU-2023:0447-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.9.4-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_security2","purl":"pkg:rpm/opensuse/apache2-mod_security2\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:0431-1"}],"prev":{"headline":"Security feature bypass in Wattbox WB-300-IP-3","id":"CVE-2023-24020"},"products":["n/a"],"published":"2023-01-20","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-02","vendors":["n/a"]},"summary":"Attackers can bypass ModSecurity WAF protections and cause buffer over-reads by exploiting incorrect null byte handling in file uploads.","url":"https://insights.sbomify.com/CVE-2023-24021/"}