Heap-based buffer overflow in MaraDNS - CVE-2011-0520
Published: January 28, 2011 / Updated: August 11, 2020
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
Gentoo Linux
How to mitigate CVE-2011-0520
External References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610834
- http://osvdb.org/70630
- http://secunia.com/advisories/43027
- http://secunia.com/advisories/43107
- http://www.debian.org/security/2011/dsa-2196
- http://www.openwall.com/lists/oss-security/2011/01/24/1
- http://www.openwall.com/lists/oss-security/2011/01/24/6
- http://www.securityfocus.com/bid/45966
- http://www.vupen.com/english/advisories/2011/0699
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64885