CVE-2017-9798
A public proof of concept exists; no exploitation attested.
- Published2017-09-18
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2017-09-18Exploit-DB entryExploit-DB
- 2017-09-1815:29CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
- 2026-10-2319:23EPSS crossed 10 %FIRST EPSS
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.2 | ≤ 2.2.34 | no fix published | NVD |
| 2.4 | = 2.4.0 | no fix published | NVD |
| 2.4 | = 2.4.1 | no fix published | NVD |
| 2.4 | = 2.4.2 | no fix published | NVD |
| 2.4 | = 2.4.3 | no fix published | NVD |
| 2.4 | = 2.4.4 | no fix published | NVD |
| 2.4 | = 2.4.6 | no fix published | NVD |
| 2.4 | = 2.4.7 | no fix published | NVD |
| 2.4 | = 2.4.9 | no fix published | NVD |
| 2.4 | = 2.4.10 | no fix published | NVD |
| 2.4 | = 2.4.12 | no fix published | NVD |
| 2.4 | = 2.4.16 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apacheMageia:6all versions · fixed in 2.4.27-1.1.mga6
- apacheMageia:5all versions · fixed in 2.4.10-16.7.mga5
- apache2Ubuntu:16.04:LTSall versions · fixed in 2.4.18-2ubuntu3.5
- apache2Ubuntu:14.04:LTSall versions · fixed in 2.4.7-1ubuntu4.18
- apache2SUSE:Studio Onsite 1.3all versions · fixed in 2.2.34-70.12.1
- apache2SUSE:OpenStack Cloud 6all versions · fixed in 2.4.16-20.13.1
- apache2SUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 2.4.23-29.6.1
- apache2SUSE:Linux Enterprise Software Development Kit 12 SP2all versions · fixed in 2.4.23-29.6.1
109 more package ranges on OSV.dev
Vendor advisories
httpd: Use-after-free by limiting unregistered HTTP method (Optionsbleed)
httpd.src as a component of Red Hat Enterprise Linux 5 · httpd24 as a component of Red Hat JBoss Web Server 3 · httpd24-httpd as a component of Red Hat Software Collections · +9 more
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 security update
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 security update
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.18 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.18 security update
8 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2017:3477 · 32 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon will be restarted automatically.
- Vendor fix Red Hat Product Security RHSA-2017:3475 · 1 productThe References section of this erratum contains a download link (you must log in to download the update). Before applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). After installing the updated packages, the httpd d…
- Vendor fix Red Hat Product Security RHSA-2017:3240 · 81 productsBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After instal…
- Vendor fix Red Hat Product Security RHSA-2017:3239 · 1 productBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. The References section of this erratum contains a download link (you must log in to download the update). The JBoss server process must be restarted for the upd…
- Vendor fix Red Hat Product Security RHSA-2017:3113 · 99 productsBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the…
- Vendor fix Red Hat Product Security RHSA-2017:3114 · 1 productBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). The References section of this erratum contains a download link (you must log in to download the update).
Advisories and patches
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
- blog.fuzzing-project.orgPatch
- blog.fuzzing-project.orgPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHub4 repositories, unverifiedknown since 2026-11-01nitrado/CVE-2017-9798pabloec20/optionsbleedl0n3rs/CVE-2017-9798brokensound77/OptionsBleed-POC-Scanner
- Metasploit modules
- 1 moduleauxiliary/scanner/http/apache_optionsbleedrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- NVDweakness (CWE)CWE-416read 2026-10-23
- FIRST EPSSEPSS score94.7 %read 2026-11-17
- PoC-in-GitHubproof of concept4known since 2026-11-01
- Exploit-DBdetectionread 2026-11-17
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2017-18719same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-jxf6-fx3m-8x2rsame flawGitHub Advisory Database · CC-BY-4.0
- auxiliary/scanner/http/apache_optionsbleedexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-42745exploit referenceExploit-DB · BSD-3-Clause
- DLA-1102-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-3980-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0007advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2018-0009advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:10623-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2017:2882advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:2972advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3018advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3113advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3193advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3194advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3195advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3240advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3476advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2017:3477advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2017:2542-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2017:2718-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2017:2756-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2017:2907-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3425-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2017-09-18
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-jxf6-fx3m-8x2r
Frequently asked questions
What is CVE-2017-9798?
Is CVE-2017-9798 actively exploited?
What is the CVSS score for CVE-2017-9798?
Running Apache HTTP Server? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-jxf6-fx3m-8x2r
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0