Heap-based buffer overflow in OpenLDAP - CVE-2011-4079

 

Heap-based buffer overflow in OpenLDAP - CVE-2011-4079

Published: October 27, 2011 / Updated: August 3, 2020


Vulnerability identifier: #VU33332
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2011-4079
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenLDAP.org
Affected software:
OpenLDAP

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Off-by-one error in the UTF8StringNormalize function in OpenLDAP 2.4.26 and earlier. A remote attacker can use a zero-length string that triggers a heap-based buffer overflow to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2011-4079

Update to version 2.4.27.

Sources