Cloudanix VulnDB

CVE-2015-9099

Medium · 5.5

CVSS

5.5

EPSS

1.4%

Published

Jun 25, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in audio-handling code can let someone crash an application by sending a specially crafted sound file, so updating to a fixed version prevents the interruption.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability triggers an invalid memory read in lame_init_params when processing an audio file containing a negative sample rate value, resulting in denial of service via application crash.

Why it matters to the business

Successful exploitation causes service outages for any application that processes untrusted audio files; the affected GitLab Bitnami package was fixed in 13.12.6 and the flaw has seen no meaningful exploitation activity in over nine years.

How an attack unfolds

An attacker creates an audio file whose header specifies a negative sample rate, then causes the target application to invoke lame_init_params on that file; the library performs an out-of-bounds read and crashes.

How to fix it

Upgrade the affected GitLab Bitnami deployment to version 13.12.6 or later; rebuild or replace any other packages that statically link the vulnerable LAME 3.99.5 library.

How to confirm the fix worked

Confirm the installed GitLab Bitnami version is 13.12.6 or newer; attempt to process a test file with a negative sample rate and verify the application no longer crashes.

Typical attack path

  1. Craft an audio file containing a negative sample-rate value
  2. Deliver the file to an application that uses LAME for decoding or transcoding
  3. Trigger initialization of LAME parameters against the malicious file
  4. Observe process termination due to invalid memory access

How to detect it

Review application and system logs for segmentation faults or abrupt terminations immediately after audio-file ingestion; correlate crashes with recent file-upload or media-processing events.

What your security team should do

  • Apply the 13.12.6 update to GitLab Bitnami instances without delay
  • Inventory all systems that embed or depend on LAME and schedule upgrades
  • Add audio-processing crash signatures to monitoring rules as a temporary detection measure

The record

The lame_init_params function in lame.c in libmp3lame.a in LAME 3.99.5 allows remote attackers to cause a denial of service (invalid read and application crash) via a crafted audio file with a negative sample rate.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 lame 0 3.99.5-r6
Alpine:v3.11 lame 0 3.99.5-r6
Alpine:v3.12 lame 0 3.99.5-r6
Alpine:v3.13 lame 0 3.99.5-r6
Alpine:v3.14 lame 0 3.99.5-r6
Alpine:v3.15 lame 0 3.99.5-r6
Alpine:v3.16 lame 0 3.99.5-r6
Alpine:v3.17 lame 0 3.99.5-r6
Alpine:v3.18 lame 0 3.99.5-r6
Alpine:v3.19 lame 0 3.99.5-r6
Alpine:v3.20 lame 0 3.99.5-r6
Alpine:v3.21 lame 0 3.99.5-r6
Alpine:v3.22 lame 0 3.99.5-r6
Alpine:v3.3 lame 0 3.99.5-r6
Alpine:v3.4 lame 0 3.99.5-r6
Alpine:v3.5 lame 0 3.99.5-r6
Alpine:v3.6 lame 0 3.99.5-r6
Alpine:v3.7 lame 0 3.99.5-r6
Alpine:v3.8 lame 0 3.99.5-r6
Alpine:v3.9 lame 0 3.99.5-r6
Debian:11 lame 0 3.99.5+repack1-6
Debian:12 lame 0 3.99.5+repack1-6
Debian:13 lame 0 3.99.5+repack1-6
Ubuntu:18.04:LTS lame 0 3.99.5+repack1-9build1
Ubuntu:Pro:14.04:LTS lame 0 3.99.5+repack1-3ubuntu1+esm2
Ubuntu:Pro:14.04:LTS lame 0 3.99.5+repack1-3ubuntu1+esm3
Ubuntu:Pro:16.04:LTS lame 0 3.99.5+repack1-9ubuntu0.1~esm2

Related vulnerabilities