CVEfocus › CVE database › CVE-2017-9798

CVE-2017-9798

CVSS 7.5 HighEPSS 94.7% (in the top 1% of all CVEs)Published 2017-09-18Updated 2025-11-04Assigner: apache

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.

What to do

Likely to be exploited: EPSS gives a 95% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

40Fixed
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04apache2Fixed2.4.18-2ubuntu3.5UBUNTU-CVE-2017-9798
Ubuntu 14.04apache2Fixed2.4.7-1ubuntu4.18UBUNTU-CVE-2017-9798
Debian 14apache2Fixed2.4.27-6DEBIAN-CVE-2017-9798
Debian 13apache2Fixed2.4.27-6DEBIAN-CVE-2017-9798
Debian 12apache2Fixed2.4.27-6DEBIAN-CVE-2017-9798
Red Hat Enterprise Linux 7httpdFixed0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7httpd-develFixed0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7httpd-manualFixed0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7httpd-toolsFixed0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7mod_ldapFixed0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7mod_proxy_htmlFixed1:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7mod_sessionFixed0:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 7mod_sslFixed1:2.4.6-67.el7_4.5RHSA-2017:2882
Red Hat Enterprise Linux 6httpdFixed0:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hat Enterprise Linux 6httpd-develFixed0:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hat Enterprise Linux 6httpd-manualFixed0:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hat Enterprise Linux 6httpd-toolsFixed0:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hat Enterprise Linux 6mod_sslFixed1:2.2.15-60.el6_9.6RHSA-2017:2972
Red Hat Enterprise Linux 5httpdWill not fix
Will not fix
Alpine Linux 3.24apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.23apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.22apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.21apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.20apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.19apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.18apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.17apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.16apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.15apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.14apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.13apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.12apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.11apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.10apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.9apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.8apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.7apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.6apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.5apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.4apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798
Alpine Linux 3.3apache2Fixed2.4.27-r1ALPINE-CVE-2017-9798

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.