Lucene search

K
gentooGentoo FoundationGLSA-200710-04
HistoryOct 07, 2007 - 12:00 a.m.

libsndfile: Buffer overflow

2007-10-0700:00:00
Gentoo Foundation
security.gentoo.org
12

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.371

Percentile

97.2%

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyallmedia-libs/libsndfile< 1.0.17-r1UNKNOWN

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.371

Percentile

97.2%