GLSA 201111-06: MaraDNS: Arbitrary code execution

Severity:high
Title:MaraDNS: Arbitrary code execution
Date:11/20/2011
Bugs: #352569
ID:201111-06

Synopsis

A buffer overflow vulnerability in MaraDNS allows remote attackers to execute arbitrary code or cause a Denial of Service.

Background

MaraDNS is a proxy DNS server with permanent caching.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-dns/maradns < 1.4.06 >= 1.4.06 All supported architectures

Description

A long DNS hostname with a large number of labels could trigger a buffer overflow in the compress_add_dlabel_points() function of dns/Compress.c.

Impact

A remote unauthenticated attacker could execute arbitrary code or cause a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All MaraDNS users should upgrade to the latest stable version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-dns/maradns-1.4.06"
    

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since February 12, 2011. It is likely that your system is already no longer affected by this issue.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201111-06.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!