Gentoo Logo

MaraDNS: Arbitrary code execution

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201111-06 / MaraDNS
Release Date November 20, 2011
Latest Revision November 20, 2011: 1
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-dns/maradns < 1.4.06 >= 1.4.06 All supported architectures

Related bugreports: #352569

Synopsis

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

2.  Impact Information

Background

MaraDNS is a proxy DNS server with permanent caching.

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All MaraDNS users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

  # 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.

4.  References



Print

Page updated November 20, 2011

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.