Integer Overflow or Wraparound Affecting httpd24-mod_ldap package, versions <0:2.4.34-7.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.91% (83rd 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-RHEL7-HTTPD24MODLDAP-4738017
  • published26 Jul 2021
  • disclosed2 Nov 2016

Introduced: 2 Nov 2016

CVE-2016-8622  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:7 httpd24-mod_ldap to version 0:2.4.34-7.el7 or higher.
This issue was patched in RHSA-2018:3558.

NVD Description

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

The URL percent-encoding decode function in libcurl before 7.51.0 is called curl_easy_unescape. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.