GLSA-200905-09 : libsndfile: User-assisted execution of arbitrary code

high Nessus Plugin ID 38944

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200905-09 (libsndfile: User-assisted execution of arbitrary code)

The following vulnerabilities have been found in libsndfile:
Tobias Klein reported that the header_read() function in src/common.c uses user input for calculating a buffer size, possibly leading to a heap-based buffer overflow (CVE-2009-1788).
The vendor reported a boundary error in the aiff_read_header() function in src/aiff.c, possibly leading to a heap-based buffer overflow (CVE-2009-1791).
Impact :

A remote attacker could entice a user to open a specially crafted AIFF or VOC file in a program using libsndfile, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All libsndfile users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libsndfile-1.0.20'

See Also

https://security.gentoo.org/glsa/200905-09

Plugin Details

Severity: High

ID: 38944

File Name: gentoo_GLSA-200905-09.nasl

Version: 1.16

Type: local

Published: 5/28/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libsndfile, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/27/2009

Reference Information

CVE: CVE-2009-1788, CVE-2009-1791

BID: 34978

CWE: 119

GLSA: 200905-09