cve.bz

CVE-2017-9798 (Optionsbleed) Use After Free

7.5 highExploitEPSS 95%Fix available

Known as Optionsbleed

High (7.5). EPSS 95% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
95% (unchanged from 95% a week ago; 95% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-9798 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-9798?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-9798?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-9798 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:http_serverthrough 2.2.34
apache:http_server2.4.0
apache:http_server2.4.1
apache:http_server2.4.2
apache:http_server2.4.3
apache:http_server2.4.4
apache:http_server2.4.6
apache:http_server2.4.7
apache:http_server2.4.9
apache:http_server2.4.10
apache:http_server2.4.12
apache:http_server2.4.16
apache:http_server2.4.17
apache:http_server2.4.18
apache:http_server2.4.20
apache:http_server2.4.23
apache:http_server2.4.25
apache:http_server2.4.26
apache:http_server2.4.27
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7apache22.2.22-13+deb7u12DLA-1102-1
Debian8apache22.4.10-10+deb8u11DSA-3980-1
Debian9apache22.4.25-3+deb9u3DSA-3980-1
Debian12, 13, 14apache22.4.27-6DEBIAN-CVE-2017-9798
Ubuntu14.04:LTSapache22.4.7-1ubuntu4.18UBUNTU-CVE-2017-9798 USN-3425-1
Ubuntu16.04:LTSapache22.4.18-2ubuntu3.5UBUNTU-CVE-2017-9798 USN-3425-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morehttpd, httpd-devel, httpd-tools and 2 more0:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moremod_ssl1:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morehttpd, mod_ldap, httpd-devel and 4 more0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremod_ssl, mod_proxy_html1:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hatjboss_core_services:1::el6jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-libs and 6 more0:2.4.23-125.jbcs.el6RHSA-2017:3477
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_bmx, jbcs-httpd24-mod_bmx-debuginfo0:0.9.6-15.GA.jbcs.el6RHSA-2017:3477
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.8-1.Final_redhat_1.jbcs.el6RHSA-2017:3477
Red Hatjboss_core_services:1::el6jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.23-125.jbcs.el6RHSA-2017:3477
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-libs and 6 more0:2.4.23-125.jbcs.el7RHSA-2017:3476
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_bmx, jbcs-httpd24-mod_bmx-debuginfo0:0.9.6-15.GA.jbcs.el7RHSA-2017:3476
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.8-1.Final_redhat_1.jbcs.el7RHSA-2017:3476
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.23-125.jbcs.el7RHSA-2017:3476
35 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 4 moreapache22.2.34-70.12.1SUSE-SU-2017:2907-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1, OpenStack Cloud 6apache22.4.16-20.13.1SUSE-SU-2017:2718-1
SUSELinux Enterprise Server 12 SP2, Linux Enterprise Server 12 SP3, Linux Enterprise Server for Raspberry Pi 12 SP2 and 4 moreapache22.4.23-29.6.1SUSE-SU-2017:2542-1
SUSELinux Enterprise Server 12-LTSSapache22.4.10-14.28.1SUSE-SU-2017:2756-1
openSUSETumbleweedapache22.4.49-1.1openSUSE-SU-2024:10623-1
Alpinev3.3, v3.4, v3.5 and 19 moreapache22.4.27-r1ALPINE-CVE-2017-9798

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of httpd as shipped with Red Hat Enterprise Linux 5, 6, and 7. This issue affects the versions of httpd24-httpd as shipped with Red Hat Software Collections. Product Security has rated this issue as having Moderate security impact.

In order to be vulnerable, .htaccess files need to contain an invalid or not globally registered HTTP method in a "Limit" directive.

Red Hat's mitigation

This issue can be mitigated by configuring httpd to disallow the use of the "Limit" configuration directive in .htaccess files. The set of directives that can be used in .htaccess files is configured using the "AllowOverride" directive. Refer to Red Hat Bugzilla bug 1490344 for further details:

https://bugzilla.redhat.com/show_bug.cgi?id=1490344#c18

ProductPackageStateAdvisory
JBoss Core Services on RHEL 6jbcs-httpd24-httpd-0:2.4.23-125.jbcs.el6Fixed 2017-12-15RHSA-2017:3477
JBoss Core Services on RHEL 6jbcs-httpd24-mod_bmx-0:0.9.6-15.GA.jbcs.el6Fixed 2017-12-15RHSA-2017:3477
JBoss Core Services on RHEL 6jbcs-httpd24-mod_cluster-native-0:1.3.8-1.Final_redhat_1.jbcs.el6Fixed 2017-12-15RHSA-2017:3477
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.23-125.jbcs.el7Fixed 2017-12-15RHSA-2017:3476
JBoss Core Services on RHEL 7jbcs-httpd24-mod_bmx-0:0.9.6-15.GA.jbcs.el7Fixed 2017-12-15RHSA-2017:3476
JBoss Core Services on RHEL 7jbcs-httpd24-mod_cluster-native-0:1.3.8-1.Final_redhat_1.jbcs.el7Fixed 2017-12-15RHSA-2017:3476
Red Hat Enterprise Linux 6httpd-0:2.2.15-60.el6_9.6Fixed 2017-10-19RHSA-2017:2972
Red Hat Enterprise Linux 6.7 Extended Update Supporthttpd-0:2.2.15-47.el6_7.5Fixed 2017-11-13RHSA-2017:3195
Red Hat Enterprise Linux 7httpd-0:2.4.6-67.el7_4.5Fixed 2017-10-11RHSA-2017:2882
Red Hat Enterprise Linux 7.2 Extended Update Supporthttpd-0:2.4.6-40.el7_2.6Fixed 2017-11-13RHSA-2017:3193
Red Hat Enterprise Linux 7.3 Extended Update Supporthttpd-0:2.4.6-45.el7_3.5Fixed 2017-11-13RHSA-2017:3194
Red Hat JBoss Core ServiceshttpdFixed 2017-12-15RHSA-2017:3475
Red Hat JBoss Enterprise Application Platform 6.4httpdFixed 2017-11-16RHSA-2017:3239
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6httpd-0:2.2.26-57.ep6.el6Fixed 2017-11-16RHSA-2017:3240
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6jbcs-httpd24-openssl-1:1.0.2h-14.jbcs.el6Fixed 2017-11-16RHSA-2017:3240
Red Hat Enterprise Linux 5httpdWill not fix
Red Hat JBoss Enterprise Application Platform 5httpdNot affected
Red Hat JBoss Enterprise Web Server 1httpdUnder investigation
Red Hat JBoss Web Server 3httpdWill not fix
Red Hat Software Collectionshttpd24-httpdAffected
34 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-9798.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SERVER OptionsBleed (CVE-2017-9798) sid 2024760

References

Check your stackJSON