Executive Summary

Summary
Title libsndfile: Buffer overflow
Informations
Name GLSA-200710-04 First vendor Publication 2007-10-07
Vendor Gentoo Last vendor Modification 2007-10-07
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 vulnerability has been discovered in libsndfile.

Background

libsndfile is a library for reading and writing various formats of audio files including WAV and FLAC.

Description

Robert Buchholz of the Gentoo Security team discovered that the flac_buffer_copy() function does not correctly handle FLAC streams with variable block sizes which leads to a heap-based buffer overflow
(CVE-2007-4974).

Impact

A remote attacker could exploit this vulnerability by enticing a user to open a specially crafted FLAC file or network stream with an application using libsndfile. This might lead to the execution of arbitrary code with privileges of the user playing the file.

Workaround

There is no known workaround at this time.

Resolution

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

References

[ 1 ] CVE-2007-4974 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4974

Availability

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

http://security.gentoo.org/glsa/glsa-200710-04.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200710-04.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:17316
 
Oval ID: oval:org.mitre.oval:def:17316
Title: USN-525-1 -- libsndfile vulnerability
Description: Robert Buchholz discovered that libsndfile did not correctly validate the size of its memory buffers.
Family: unix Class: patch
Reference(s): USN-525-1
CVE-2007-4974
Version: 7
Platform(s): Ubuntu 6.06
Ubuntu 6.10
Ubuntu 7.04
Product(s): libsndfile
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:20524
 
Oval ID: oval:org.mitre.oval:def:20524
Title: DSA-1442-1 libsndfile
Description: Rubert Buchholz discovered that libsndfile, a library for reading / writing audio files, performs insufficient boundary checks when processing FLAC files, which might lead to the execution of arbitrary code.
Family: unix Class: patch
Reference(s): DSA-1442-1
CVE-2007-4974
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): libsndfile
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 22

OpenVAS Exploits

Date Description
2009-10-13 Name : SLES10: Security update for libsndfile
File : nvt/sles10_libsndfile0.nasl
2009-04-09 Name : Mandriva Update for libsndfile MDKSA-2007:191 (libsndfile)
File : nvt/gb_mandriva_MDKSA_2007_191.nasl
2009-03-23 Name : Ubuntu Update for libsndfile vulnerability USN-525-1
File : nvt/gb_ubuntu_USN_525_1.nasl
2009-02-27 Name : Fedora Update for libsndfile FEDORA-2007-2236
File : nvt/gb_fedora_2007_2236_libsndfile_fc7.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200710-04 (libsndfile)
File : nvt/glsa_200710_04.nasl
2008-01-17 Name : Debian Security Advisory DSA 1442-2 (libsndfile)
File : nvt/deb_1442_2.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
40574 libsndfile flac_buffer_copy() Function FLAC File Handling Overflow

Nessus® Vulnerability Scanner

Date Description
2008-01-08 Name : The remote openSUSE host is missing a security update.
File : suse_libsndfile-4430.nasl - Type : ACT_GATHER_INFO
2008-01-04 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1442.nasl - Type : ACT_GATHER_INFO
2008-01-04 Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_libsndfile-4431.nasl - Type : ACT_GATHER_INFO
2007-11-10 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-525-1.nasl - Type : ACT_GATHER_INFO
2007-11-06 Name : The remote Fedora host is missing a security update.
File : fedora_2007-2236.nasl - Type : ACT_GATHER_INFO
2007-10-09 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200710-04.nasl - Type : ACT_GATHER_INFO
2007-10-03 Name : The remote Mandrake Linux host is missing one or more security updates.
File : mandrake_MDKSA-2007-191.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:09
  • Multiple Updates