Gentoo: 201312-10 libsmi: Arbitrary code execution
Posted by Benjamin D. Thomas   
Gentoo A buffer overflow in libsmi might allow a context-dependent attacker to execute arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201312-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: libsmi: Arbitrary code execution
     Date: December 14, 2013
     Bugs: #342127
       ID: 201312-10

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

Synopsis
========

A buffer overflow in libsmi might allow a context-dependent attacker to
execute arbitrary code.

Background
==========

libsmi is a library that allows management applications to access SMI
MIB module definitions.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  net-libs/libsmi             < 0.4.8-r1               >= 0.4.8-r1

Description
===========

libsmi contains a buffer overflow vulnerability in the smiGetNode()
function in lib/smi.c.

Impact
======

A context-dependent attacker could possibly execute arbitrary code by
way of a specially crafted Object Identifier (OID).

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All libsmi users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-libs/libsmi-0.4.8-r1"

Packages which depend on this library may need to be recompiled. Tools
such as revdep-rebuild may assist in identifying these packages.

NOTE: This is a legacy GLSA. Updates for all affected architectures are
available since October 30, 2010. It is likely that your system is
already no longer affected by this issue.

References
==========

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

Availability
============

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

 http://security.gentoo.org/glsa/glsa-201312-10.xml

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 2013 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.

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