Use After Free Affecting apache/httpd package, versions [,2.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.42% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-APACHEHTTPD-3007290
  • published12 Jan 2022
  • disclosed18 Sept 2017
  • creditUnknown

Introduced: 18 Sep 2017

CVE-2017-9798  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade apache/httpd to version 2.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. 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.

CVSS Scores

version 3.1