Heap-based buffer overflow in MaraDNS - CVE-2011-0520

 

Heap-based buffer overflow in MaraDNS - CVE-2011-0520

Published: January 28, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45403
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-0520
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 The compress_add_dlabel_points function in dns/Compress.c in MaraDNS 1.4.03, 1.4.05, and probably other versions. A remote attacker can use a long DNS hostname with a large number of labels 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

MaraDNS
Gentoo Linux

How to mitigate CVE-2011-0520

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.


External References

Related Security Bulletins