Gentoo Logo

NUT: Arbitrary code execution

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201209-19 / nut
Release Date September 27, 2012
Latest Revision September 27, 2012: 1
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
sys-power/nut < 2.6.3 >= 2.6.3 All supported architectures

Related bugreports: #419377

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All NUT users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated September 27, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.