Executive Summary

Summary
Title libsmi: Arbitrary code execution
Informations
Name GLSA-201312-10 First vendor Publication 2013-12-14
Vendor Gentoo Last vendor Modification 2013-12-14
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

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

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:12819
 
Oval ID: oval:org.mitre.oval:def:12819
Title: DSA-2145-1 libsmi -- buffer overflow
Description: Andres Lopez Luksenberg discovered a buffer overflow in the OID parser of libsmi, a library to access SMI MIB data.
Family: unix Class: patch
Reference(s): DSA-2145-1
CVE-2010-2891
Version: 5
Platform(s): Debian GNU/Linux 5.0
Product(s): libsmi
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

ExploitDB Exploits

id Description
2010-10-20 LibSMI smiGetNode Buffer Overflow When Long OID Is Given In Numerical Form

OpenVAS Exploits

Date Description
2011-03-07 Name : Debian Security Advisory DSA 2145-1 (libsmi)
File : nvt/deb_2145_1.nasl
2010-12-02 Name : Fedora Update for libsmi FEDORA-2010-17104
File : nvt/gb_fedora_2010_17104_libsmi_fc14.nasl
2010-11-16 Name : Fedora Update for libsmi FEDORA-2010-17096
File : nvt/gb_fedora_2010_17096_libsmi_fc13.nasl
2010-11-16 Name : Fedora Update for libsmi FEDORA-2010-17126
File : nvt/gb_fedora_2010_17126_libsmi_fc12.nasl
2010-10-26 Name : Mandriva Update for libsmi MDVSA-2010:209 (libsmi)
File : nvt/gb_mandriva_MDVSA_2010_209.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
68767 libsmi lib/smi.c smiGetNode() Function Object Identifier (OID) Handling Overflow

libsmi is prone to an overflow condition. The 'smiGetNode' function in 'lib/smi.c' fails to properly sanitize user-supplied input resulting in a stack-based buffer overflow. With a specially crafted overly long string in an Object Identifier, a context-dependent attacker can potentially execute arbitrary code.

Nessus® Vulnerability Scanner

Date Description
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : suse_11_3_libsmi-101111.nasl - Type : ACT_GATHER_INFO
2013-12-16 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201312-10.nasl - Type : ACT_GATHER_INFO
2011-05-05 Name : The remote openSUSE host is missing a security update.
File : suse_11_1_libsmi-101111.nasl - Type : ACT_GATHER_INFO
2011-05-05 Name : The remote openSUSE host is missing a security update.
File : suse_11_2_libsmi-101111.nasl - Type : ACT_GATHER_INFO
2011-01-18 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2145.nasl - Type : ACT_GATHER_INFO
2010-11-11 Name : The remote Fedora host is missing a security update.
File : fedora_2010-17096.nasl - Type : ACT_GATHER_INFO
2010-11-11 Name : The remote Fedora host is missing a security update.
File : fedora_2010-17104.nasl - Type : ACT_GATHER_INFO
2010-11-11 Name : The remote Fedora host is missing a security update.
File : fedora_2010-17126.nasl - Type : ACT_GATHER_INFO
2010-10-24 Name : The remote Mandriva Linux host is missing one or more security updates.
File : mandriva_MDVSA-2010-209.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2014-02-17 11:37:58
  • Multiple Updates
2013-12-15 00:18:07
  • First insertion