<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="200806-01"> <title>mtr: Stack-based buffer overflow</title> <synopsis> A stack-based buffer overflow was found in mtr, possibly resulting in the execution of arbitrary code. </synopsis> <product type="ebuild">mtr</product> <announced>2008-06-03</announced> <revised count="01">2008-06-03</revised> <bug>223017</bug> <access>remote</access> <affected> <package name="net-analyzer/mtr" auto="yes" arch="*"> <unaffected range="ge">0.73-r1</unaffected> <vulnerable range="lt">0.73-r1</vulnerable> </package> </affected> <background> <p> mtr combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool. </p> </background> <description> <p> Adam Zabrocki reported a boundary error within the split_redraw() function in the file split.c, possibly leading to a stack-based buffer overflow. </p> </description> <impact type="high"> <p> 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. </p> </impact> <workaround> <p> There is no known workaround at this time. </p> </workaround> <resolution> <p> All mtr users should upgrade to the latest version: </p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=net-analyzer/mtr-0.73-r1"</code> </resolution> <references> <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2357">CVE-2008-2357</uri> </references> <metadata tag="requester" timestamp="2008-05-26T19:29:01Z"> keytoaster </metadata> <metadata tag="submitter" timestamp="2008-05-27T21:17:06Z"> keytoaster </metadata> <metadata tag="bugReady" timestamp="2008-06-02T21:28:08Z"> p-y </metadata> </glsa>