GLSA 200806-01: mtr: Stack-based buffer overflow

Severity:high
Title:mtr: Stack-based buffer overflow
Date:06/03/2008
Bugs: #223017
ID:200806-01

Synopsis

A stack-based buffer overflow was found in mtr, possibly resulting in the execution of arbitrary code.

Background

mtr combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-analyzer/mtr < 0.73-r1 >= 0.73-r1 All supported architectures

Description

Adam Zabrocki reported a boundary error within the split_redraw() function in the file split.c, possibly leading to a stack-based buffer overflow.

Impact

A remote attacker could use a specially crafted resolved hostname to execute arbitrary code with root privileges. However, it is required that the attacker controls the DNS server used by the victim, and that the "-p" (or "--split") command line option is used.

Workaround

There is no known workaround at this time.

Resolution

All mtr users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-analyzer/mtr-0.73-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200806-01.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!