- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201209-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: NUT: Arbitrary code execution
     Date: September 27, 2012
     Bugs: #419377
       ID: 201209-19

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

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

Affected packages
================
    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  sys-power/nut                < 2.6.3                    >= 2.6.3

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
=========
[ 1 ] CVE-2012-2944
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2944

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/201209-19

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
======
Copyright 2012 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5/

Gentoo: GLSA-201209-19: NUT: Arbitrary code execution

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

Summary

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

Resolution

All NUT users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=sys-power/nut-2.6.3"

References

[ 1 ] CVE-2012-2944 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2944

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201209-19

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity
Severity: High
Title: NUT: Arbitrary code execution
Date: September 27, 2012
Bugs: #419377
ID: 201209-19

Synopsis

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

Background

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

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 sys-power/nut < 2.6.3 >= 2.6.3

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.

Related News