<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="201209-19"> <title>NUT: Arbitrary code execution</title> <synopsis>A buffer overflow in NUT might allow remote attackers to execute arbitrary code. </synopsis> <product type="ebuild">nut</product> <announced>2012-09-27</announced> <revised count="1">2012-09-27</revised> <bug>419377</bug> <access>remote</access> <affected> <package name="sys-power/nut" auto="yes" arch="*"> <unaffected range="ge">2.6.3</unaffected> <vulnerable range="lt">2.6.3</vulnerable> </package> </affected> <background> <p>The Network UPS Tools (NUT) provide support for power devices.</p> </background> <description> <p>An error in the addchar() function in parseconf.c may cause a buffer overflow. </p> </description> <impact type="high"> <p>A remote attacker could send a specially crafted string to upsd, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition. </p> </impact> <workaround> <p>There is no known workaround at this time.</p> </workaround> <resolution> <p>All NUT users should upgrade to the latest version:</p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=sys-power/nut-2.6.3" </code> </resolution> <references> <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2944">CVE-2012-2944</uri> </references> <metadata tag="requester" timestamp="2012-09-20T13:16:15Z">ackle</metadata> <metadata tag="submitter" timestamp="2012-09-27T19:53:02Z">ackle</metadata> </glsa>