portage-ng / portage / sys-power / nut / 9999
portage-ng glsa
1 advisory reference sys-power/nut · none place version 9999 in a vulnerable range
▸ GLSA 201209-19 NUT: Arbitrary code execution this version unaffected high remote 2012-09-27

A buffer overflow in NUT might allow remote attackers to execute arbitrary code.

Announced
2012-09-27
Revised
2012-09-27
Access
remote
Bugs
#419377
Advisory
https://security.gentoo.org/glsa/201209-19

Affected packages

PackageArchVulnerableUnaffected
sys-power/nut*< 2.6.3>= 2.6.3

Background

The Network UPS Tools (NUT) provide support for power devices.

Description

An error in the addchar() function in parseconf.c may cause a buffer overflow.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All NUT users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-power/nut-2.6.3"

References