portage-ng / portage / net-analyzer / mtr / 0.95-r1
portage-ng glsa
1 advisory reference net-analyzer/mtr · none place version 0.95-r1 in a vulnerable range
▸ GLSA 200806-01 mtr: Stack-based buffer overflow this version unaffected high remote 2008-06-03

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

Announced
2008-06-03
Revised
2008-06-03
Access
remote
Bugs
#223017
Advisory
https://security.gentoo.org/glsa/200806-01

Affected packages

PackageArchVulnerableUnaffected
net-analyzer/mtr*< 0.73-r1>= 0.73-r1

Background

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

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