SoX .wav file buffer overflow

sox-wav-bo (16827) The risk level is classified as HighHigh Risk

Description:

SoX is vulnerable to a stack-based buffer overflow in the st_wavstartread function in the wav.c file, caused by improper bounds checking of .wav files. A remote attacker could create a specially-crafted .wav file to overflow a buffer and execute arbitrary code on the system.

Platforms Affected:

  • Conectiva, Linux 10
  • Conectiva, Linux 8.0
  • Conectiva, Linux 9.0
  • Debian, Debian Linux 3.0
  • Gentoo, Linux
  • Lance Norskog, SoX 12.17.2
  • Lance Norskog, SoX 12.17.3
  • Lance Norskog, SoX 12.17.4
  • MandrakeSoft, Mandrake Linux 10.0 AMD64
  • MandrakeSoft, Mandrake Linux 10.0
  • MandrakeSoft, Mandrake Linux 9.1
  • MandrakeSoft, Mandrake Linux 9.1 PPC
  • MandrakeSoft, Mandrake Linux 9.2 AMD64
  • MandrakeSoft, Mandrake Linux 9.2
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Linux 3.0
  • Slackware, Slackware Linux 10.0
  • Slackware, Slackware Linux 8.1
  • Slackware, Slackware Linux 9.0
  • Slackware, Slackware Linux 9.1
  • Slackware, Slackware Linux current
  • SuSE, Linux Enterprise Server 9
  • SuSE, SuSE eMail Server III
  • SuSE, SuSE Linux 8.0
  • SuSE, SuSE Linux 8.1
  • SuSE, SuSE Linux 8.2
  • SuSE, SuSE Linux 9.0
  • SuSE, SuSE Linux 9.1
  • SuSE, SuSE Linux Connectivity Server
  • SuSE, SuSE Linux Database Server
  • SuSE, SuSE Linux Enterprise Server 7.0
  • SuSE, SuSE Linux Office Server

Remedy:

Upgrade to the latest sox package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:076 : sox for more information. See References.

Mandrake Linux 9.1: 12.17.3-4.1.91mdk or later
Mandrake Linux 9.2: 12.17.4-2.1.92mdk or later
Mandrake Linux Corporate Server 2.1: 12.17.3-4.1.C21mdk or later
Mandrake Linux 10.0: 12.17.4-2.1.100mdk or later

For Red Hat Linux:
Upgrade to the latest sox package, as listed below. Refer to RHSA-2004:409-05 for more information. See References.

Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 12.17.4-4.3.x86_64 or later

For Gentoo Linux:
Upgrade to the latest version of sox (12.17.4-r2 or later), as listed in GLSA 200407-23. See References.

For Conectiva Linux:
Upgrade to the latest sox package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:855 for more information. See References.

Conectiva Linux 10.0: 12.17.3-29251U10_1cl or later
Conectiva Linux 8: 12.17.3-10818U80_1cl or later
Conectiva Linux 9: 12.17.3-21828U90_1cl or later

For Slackware Linux:
Upgrade to the latest sox package, as listed below. Refer to slackware-security Mailing List, Tue, 10 Aug 2004 14:33:16 -0700 (PDT) for more information. See References.

Slackware Linux 8.1and 9.0: 12.17.4-i386-3 or later
Slackware Linux 9.1, 10.0 and -current: 12.17.4-i486-3 or later

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

Reported:

Jul 28, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page