Heap-based Buffer Overflow Affecting mod_ldap package, versions <0:2.4.6-67.el7_4.2


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
27.31% (97th 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 IDSNYK-CENTOS7-MODLDAP-2091883
  • published26 Jul 2021
  • disclosed20 Jun 2017

Introduced: 20 Jun 2017

CVE-2017-7668  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:7 mod_ldap to version 0:2.4.6-67.el7_4.2 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.

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.

References

CVSS Scores

version 3.1