Gentoo Logo

SoX: Multiple buffer overflows

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200407-23 / SoX
Release Date July 30, 2004
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/sox <= 12.17.4-r1 >= 12.17.4-r2 All supported architectures

Related bugreports: #58733

Synopsis

SoX contains two buffer overflow vulnerabilities in the WAV header parser code.

2.  Impact Information

Background

SoX is a command line utility that can convert various formats of computer audio files in to other formats.

Description

Ulf Harnhammar discovered two buffer overflows in the sox and play commands when handling WAV files with specially crafted header fields.

Impact

By enticing a user to play or convert a specially crafted WAV file an attacker could execute arbitrary code with the permissions of the user running SoX.

3.  Resolution Information

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version of SoX.

Resolution

All SoX users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=media-sound/sox-12.17.4-r2"
# emerge ">=media-sound/sox-12.17.4-r2"

4.  References



Print

Page updated July 30, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.