{"answers":{"affected":"1 open source package ship an affected version, including apache. It affects 6 products.","exploited":"There is no known exploitation of CVE-2021-31618 in the wild and no public exploit code.","fix":"Upgrade apache to a fixed version for your release line: 1.15.18 or 2.4.48.","what":"CVE-2021-31618 is a high-severity vulnerability in Apache Http Server, published on 15 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-31618 and fix it if it is affected.\n\nWhat it is: CVE-2021-31618 is a high-severity vulnerability in Apache Http Server, published on 15 Jun 2021. 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-2021-31618 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apache (Bitnami): affected from 1.15.17; fixed in 1.15.18, 2.4.48\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-2021-31618/ (Markdown: https://insights.sbomify.com/CVE-2021-31618/index.md)","id":"CVE-2021-31618","markdown":"https://insights.sbomify.com/CVE-2021-31618/index.md","name":"CVE-2021-31618","record":{"aliases":["ALPINE-CVE-2021-31618","AZL-44166","BIT-apache-2021-31618","CLEANSTART-2026-YH82036","DEBIAN-CVE-2021-31618","GHSA-4jq3-qrx6-87cc"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache HTTP Server","requires_auth":"none","summary":"An attacker can crash the Apache HTTP Server child process by sending a specially crafted HTTP/2 request with an oversized header, causing a denial of service.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"http_server","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_manager_ops_center","vendor":"oracle"},{"product":"instantis_enterprisetrack","vendor":"oracle"},{"product":"zfs_storage_appliance_kit","vendor":"oracle"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"Apache HTTP Server protocol handler for the HTTP/2 protocol checks received request headers against the size limitations as configured for the server and used for the HTTP/1 protocol as well. On violation of these restrictions and HTTP response is sent to the client with a status code indicating why the request was rejected. This rejection response was not fully initialised in the HTTP/2 protocol handler if the offending header was the very first one received or appeared in a a footer. This led to a NULL pointer dereference on initialised memory, crashing reliably the child process. Since such a triggering HTTP/2 request is easy to craft and submit, this can be exploited to DoS the server. This issue affected mod_http2 1.15.17 and Apache HTTP Server version 2.4.47 only. Apache HTTP Server 2.4.47 was never released.","ecosystems":["Bitnami"],"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":"NULL pointer dereference on specially crafted HTTP/2 request","id":"CVE-2021-31618","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:http_server","products":["apache:http_server","debian:debian_linux","fedoraproject:fedora","oracle:enterprise_manager_ops_center","oracle:instantis_enterprisetrack","oracle:zfs_storage_appliance_kit"],"type":"null_dereference","year":"2021"},"n_packages":1,"n_references":13,"next":{"headline":"Memory corruption in n/a","id":"CVE-2021-31624"},"packages":[{"ecosystem":"Bitnami","fixed":["1.15.18","2.4.48"],"introduced":["1.15.17","2.4.47"],"last_affected":[],"package":"apache","purl":"pkg:bitnami/apache","source":"BIT-apache-2021-31618"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-31617"},"products":["Apache HTTP Server"],"published":"2021-06-15","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"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":"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":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"An attacker can crash the Apache HTTP Server child process by sending a specially crafted HTTP/2 request with an oversized header, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2021-31618/"}