Out-of-bounds Write Affecting httpd package, versions <0:2.4.6-93.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.64% (91st 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-HTTPD-1522974
  • published26 Jul 2021
  • disclosed24 Mar 2018

Introduced: 24 Mar 2018

CVE-2017-15710  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:7 httpd to version 0:2.4.6-93.el7 or higher.
This issue was patched in RHSA-2020:1121.

NVD Description

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

In Apache httpd 2.0.23 to 2.0.65, 2.2.0 to 2.2.34, and 2.4.0 to 2.4.29, mod_authnz_ldap, if configured with AuthLDAPCharsetConfig, uses the Accept-Language header value to lookup the right charset encoding when verifying the user's credentials. If the header value is not present in the charset conversion table, a fallback mechanism is used to truncate it to a two characters value to allow a quick retry (for example, 'en-US' is truncated to 'en'). A header value of less than two characters forces an out of bound write of one NUL byte to a memory location that is not part of the string. In the worst case, quite unlikely, the process would crash which could be used as a Denial of Service attack. In the more likely case, this memory is already reserved for future use and the issue has no effect at all.

References