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: 5.1 [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]
CVE-ID: CVE-2011-4079
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

OpenLDAP
openldap (Alpine package)

How to mitigate CVE-2011-4079

Update to version 2.4.27.

OpenLDAP - update to 2.4.27
openldap (Alpine package) - update to 2.4.24-r1

External References

Related Security Bulletins