{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-9798 exists.","fix":"Apply the vendor's patch.","what":"CVE-2017-9798 is a high-severity use after free vulnerability in Apache Http Server, published on 18 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-9798 and fix it if it is affected.\n\nWhat it is: CVE-2017-9798 is a high-severity use after free vulnerability in Apache Http Server, published on 18 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-9798 exists.\n\nAffected product: Apache Http Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2017-9798/ (Markdown: https://insights.sbomify.com/CVE-2017-9798/index.md)","id":"CVE-2017-9798","markdown":"https://insights.sbomify.com/CVE-2017-9798/index.md","name":"CVE-2017-9798","record":{"aliases":["ALPINE-CVE-2017-9798","CLEANSTART-2026-BD59133","DEBIAN-CVE-2017-9798","DLA-1102-1","DSA-3980-1","GHSA-jxf6-fx3m-8x2r","MGASA-2018-0009","RHSA-2017:2882","RHSA-2017:3018","SUSE-SU-2017:2542-1","SUSE-SU-2017:2718-1","UBUNTU-CVE-2017-9798","USN-3425-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache HTTP Server","requires_auth":"none","summary":"Remote attackers can read secret data from process memory via unauthenticated OPTIONS requests due to a use-after-free flaw in Apache HTTP Server.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"http_server","vendor":"apache"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, or if httpd.conf has certain misconfigurations, aka Optionsbleed. This affects the Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27. The attacker sends an unauthenticated OPTIONS HTTP request when attempting to read secret data. This is a use-after-free issue and thus secret data is not always sent, and the specific data depends on many factors including configuration. Exploitation with .htaccess can be blocked with a patch to the ap_limit_section function in server/core.c.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_software_collections:3::el6","Red Hat:rhel_software_collections:3::el7","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:OpenStack Cloud 6"],"exploits":{"exploitdb":1,"first_seen":"2017-09-18","github_poc":4,"max_poc_stars":19,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-09-27T03:28:22Z","kind":"github_poc","ref":"https://github.com/brokensound77/OptionsBleed-POC-Scanner","stars":19,"title":"OptionsBleed (CVE-2017-9798) PoC / Scanner"},{"date":"2017-09-18T15:17:13Z","kind":"github_poc","ref":"https://github.com/nitrado/CVE-2017-9798","stars":3,"title":"Checks a shared hosting environment for CVE-2017-9798"},{"date":"2017-09-20T18:44:17Z","kind":"github_poc","ref":"https://github.com/pabloec20/optionsbleed","stars":2,"title":"CVE-2017-9798"},{"date":"2017-09-18","kind":"exploitdb","ref":"42745","stars":null,"title":"Apache \u003c 2.2.34 / \u003c 2.4.27 - OPTIONS Memory Leak"},{"date":"2017-09-18","kind":"metasploit","ref":"auxiliary/scanner/http/apache_optionsbleed","stars":null,"title":"Apache Optionsbleed Scanner"},{"date":"2017-09-24T06:51:32Z","kind":"github_poc","ref":"https://github.com/l0n3rs/CVE-2017-9798","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Use after free in Apache HTTP Server","id":"CVE-2017-9798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:http_server","products":["apache:http_server","debian:debian_linux"],"type":"use_after_free","year":"2017"},"n_packages":80,"n_references":55,"next":{"headline":"Apache Storm it is possible for the owner of a topology to trick the supervisor to launch a worker as a different, non-root, user","id":"CVE-2017-9799"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ldap","purl":"pkg:rpm/redhat/mod_ldap","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html","purl":"pkg:rpm/redhat/mod_proxy_html","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_session","purl":"pkg:rpm/redhat/mod_session","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ldap","purl":"pkg:rpm/redhat/mod_ldap","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html","purl":"pkg:rpm/redhat/mod_proxy_html","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_session","purl":"pkg:rpm/redhat/mod_session","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ldap","purl":"pkg:rpm/redhat/mod_ldap","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html","purl":"pkg:rpm/redhat/mod_proxy_html","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_session","purl":"pkg:rpm/redhat/mod_session","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"httpd-tools","purl":"pkg:rpm/redhat/httpd-tools","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ldap","purl":"pkg:rpm/redhat/mod_ldap","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_proxy_html","purl":"pkg:rpm/redhat/mod_proxy_html","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_session","purl":"pkg:rpm/redhat/mod_session","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["1:2.4.6-67.el7_4.5"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2017:2882"},{"ecosystem":"Red Hat:rhel_software_collections:3::el6","fixed":["0:1.1-18.el6"],"introduced":["0"],"last_affected":[],"package":"httpd24","purl":"pkg:rpm/redhat/httpd24","source":"RHSA-2017:3018"},{"ecosystem":"Red Hat:rhel_software_collections:3::el6","fixed":["0:2.4.27-8.el6"],"introduced":["0"],"last_affected":[],"package":"httpd24-httpd","purl":"pkg:rpm/redhat/httpd24-httpd","source":"RHSA-2017:3018"},{"ecosystem":"Red Hat:rhel_software_collections:3::el6","fixed":["0:2.4.27-8.el6"],"introduced":["0"],"last_affected":[],"package":"httpd24-httpd-debuginfo","purl":"pkg:rpm/redhat/httpd24-httpd-debuginfo","source":"RHSA-2017:3018"},{"ecosystem":"Red Hat:rhel_software_collections:3::el6","fixed":["0:2.4.27-8.el6"],"introduced":["0"],"last_affected":[],"package":"httpd24-httpd-devel","purl":"pkg:rpm/redhat/httpd24-httpd-devel","source":"RHSA-2017:3018"}],"prev":{"headline":"Apache Geode vulnerable to Exposure of Sensitive Information","id":"CVE-2017-9797"},"products":["Apache HTTP Server"],"published":"2017-09-18","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":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["Apache Software Foundation"]},"summary":"Remote attackers can read secret data from process memory via unauthenticated OPTIONS requests due to a use-after-free flaw in Apache HTTP Server.","url":"https://insights.sbomify.com/CVE-2017-9798/"}