Use After Free Affecting mod_ldap package, versions <0:2.4.6-67.el7_4.5


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.39% (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-CENTOS7-MODLDAP-2092445
  • published26 Jul 2021
  • disclosed18 Sept 2017

Introduced: 18 Sep 2017

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

How to fix?

Upgrade Centos:7 mod_ldap to version 0:2.4.6-67.el7_4.5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mod_ldap package and not the mod_ldap package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1