Cloudanix VulnDB

CVE-2017-7668

High · 7.5

CVSS

7.5

EPSS

57.5%

Published

Jun 20, 2017

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

A flaw in how the web server reads certain request headers can make the server crash, taking websites and services offline until it is restarted or fixed.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Network Service
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds memory read in ap_find_token() caused by incorrect token list parsing that allows the function to scan past the end of the supplied header string, resulting in segmentation fault or erroneous return value.

Why it matters to the business

Web servers may crash or mishandle requests, causing denial-of-service outages that interrupt online services and require emergency restarts or patching.

How an attack unfolds

An unauthenticated remote attacker sends a crafted sequence of HTTP request headers that trigger the faulty token parsing logic; the server process either terminates with a segmentation fault or returns an incorrect value that may be leveraged for further attack stages.

How to fix it

Upgrade Apache HTTP Server to releases that corrected the token parsing bug introduced in 2.2.32/2.4.24; apply equivalent fixes or workarounds to affected downstream products such as NetApp, Red Hat, Debian, Oracle, and Apple distributions.

How to confirm the fix worked

Verify running Apache version is newer than the vulnerable releases, review httpd error logs for segmentation faults correlated with header parsing, and confirm absence of the parsing defect via source inspection or vendor advisories.

Typical attack path

  1. Craft malicious HTTP request headers targeting token list parsing
  2. Send request to vulnerable Apache instance
  3. Trigger out-of-bounds read in ap_find_token()
  4. Induce crash or incorrect return value

How to detect it

Inspect web server access and error logs for unusual header patterns or repeated requests that precede segmentation faults; correlate process crashes with incoming traffic timestamps.

What your security team should do

  • Prioritize upgrade of all internet-facing Apache instances
  • Test patched versions in staging before production rollout
  • Monitor for unexpected worker process crashes
  • Review and restrict unnecessary request header acceptance if immediate patching is delayed

The record

The HTTP strict parsing changes added in Apache httpd 2.2.32 and 2.4.24 introduced a bug in token list parsing, which allows ap_find_token() to search past the end of its input string. By maliciously crafting a sequence of request headers, an attacker may be able to cause a segmentation fault, or to force ap_find_token() to return an incorrect value.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 apache2 0 2.4.26-r0
Alpine:v3.11 apache2 0 2.4.26-r0
Alpine:v3.12 apache2 0 2.4.26-r0
Alpine:v3.13 apache2 0 2.4.26-r0
Alpine:v3.14 apache2 0 2.4.26-r0
Alpine:v3.15 apache2 0 2.4.26-r0
Alpine:v3.16 apache2 0 2.4.26-r0
Alpine:v3.17 apache2 0 2.4.26-r0
Alpine:v3.18 apache2 0 2.4.26-r0
Alpine:v3.19 apache2 0 2.4.26-r0
Alpine:v3.20 apache2 0 2.4.26-r0
Alpine:v3.21 apache2 0 2.4.26-r0
Alpine:v3.22 apache2 0 2.4.26-r0
Alpine:v3.3 apache2 0 2.4.26-r0
Alpine:v3.4 apache2 0 2.4.26-r0
Alpine:v3.5 apache2 0 2.4.26-r0
Alpine:v3.6 apache2 0 2.4.26-r0
Alpine:v3.7 apache2 0 2.4.26-r0
Alpine:v3.8 apache2 0 2.4.26-r0
Alpine:v3.9 apache2 0 2.4.26-r0
Debian:11 apache2 0 2.4.25-4
Debian:12 apache2 0 2.4.25-4
Debian:13 apache2 0 2.4.25-4
Debian:7 apache2 0 2.2.22-13+deb7u9
Debian:8 apache2 0 2.4.10-10+deb8u9
Debian:9 apache2 0 2.4.25-3+deb9u1
Mageia:5 apache 0 2.4.10-16.7.mga5
Red Hat:enterprise_linux:7::client httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:rhel_eus:7.2::computenode httpd 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-debuginfo 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-devel 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-manual 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-tools 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_ldap 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_proxy_html 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_session 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_ssl 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-debuginfo 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-devel 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-manual 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-tools 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_ldap 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_proxy_html 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_session 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_ssl 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.3::computenode httpd 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-debuginfo 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-devel 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-manual 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-tools 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_ldap 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_proxy_html 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_session 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_ssl 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-debuginfo 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-devel 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-manual 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-tools 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_ldap 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_proxy_html 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_session 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_ssl 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_software_collections:2::el6 httpd24-httpd 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-debuginfo 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-devel 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-manual 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-tools 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_ldap 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_proxy_html 0 1:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_session 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_ssl 0 1:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-debuginfo 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-devel 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-manual 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-tools 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_ldap 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_proxy_html 0 1:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_session 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_ssl 0 1:2.4.25-9.el7.1
SUSE:Linux Enterprise Point of Sale 11 SP3 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 11 SP3-LTSS apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 11 SP4 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 apache2 0 2.2.34-70.12.1
SUSE:Studio Onsite 1.3 apache2 0 2.2.34-70.12.1
Ubuntu:14.04:LTS apache2 0 2.4.7-1ubuntu4.16
Ubuntu:16.04:LTS apache2 0 2.4.18-2ubuntu3.3

Related vulnerabilities