Cloudanix VulnDB

CVE-2019-12900

Critical · 9.8

CVSS

9.8

EPSS

8.0%

Published

Jun 19, 2019

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in widely used file compression software lets attackers gain control of computers by sending specially made files that the program tries to open.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Full Compromise
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds write in BZ2_decompress triggered by excessive selectors, enabling memory corruption that can lead to arbitrary code execution or denial of service during bzip2 decompression.

Why it matters to the business

Remote attackers can compromise systems processing untrusted compressed archives, leading to data breaches, service disruption, or ransomware deployment on unpatched environments using affected bzip2 or dependent packages like lame.

How an attack unfolds

An attacker creates a malicious bzip2 archive containing an abnormally high number of selectors to trigger the flaw in BZ2_decompress, then delivers the file via common vectors such as downloads or attachments; when the victim application decompresses it, the out-of-bounds write is exploited for code execution or crash.

How to fix it

Upgrade to fixed versions: lame on Debian 11/12/13 to 3.99.5+repack1-8; bzip2 git to 74de1e2e6ffc9d51ef9824db71a8ffee5962cdbc; lame on Ubuntu 18.04 to 3.100-2; lame on Ubuntu 16.04 to 3.99.5+repack1-9build1. Remove or isolate vulnerable versions and rebuild any dependent applications.

How to confirm the fix worked

Verify installed package versions against the listed fixed releases using package managers; perform regression testing with known trigger inputs that exercise selector handling in decompression routines.

Typical attack path

  1. Craft bzip2 archive with excessive selectors to trigger out-of-bounds write
  2. Host or distribute the malicious archive through web, email, or file-sharing channels
  3. Victim software or library decompresses the archive using vulnerable bzip2 code
  4. Exploit memory corruption to achieve code execution or denial of service

How to detect it

Monitor process logs and crash reports for bzip2 or lame decompression failures; inspect file-handling workflows for unexpected archive processing from untrusted sources.

What your security team should do

  • Prioritize patching all affected lame and bzip2 installations within the next 30 days given the high CVSS and public availability
  • Inventory environments for any downstream dependents of bzip2 and apply updates
  • Implement network and endpoint controls to block untrusted bzip2 archives until remediation is complete

The record

BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 bzip2 0 1.0.6-27.el8_10
AlmaLinux:8 bzip2 0 1.0.6-28.el8_10
AlmaLinux:8 bzip2-devel 0 1.0.6-27.el8_10
AlmaLinux:8 bzip2-devel 0 1.0.6-28.el8_10
AlmaLinux:8 bzip2-libs 0 1.0.6-27.el8_10
AlmaLinux:8 bzip2-libs 0 1.0.6-28.el8_10
AlmaLinux:9 bzip2 0 1.0.8-10.el9_5
AlmaLinux:9 bzip2-devel 0 1.0.8-10.el9_5
AlmaLinux:9 bzip2-libs 0 1.0.8-10.el9_5
Alpine:v3.10 bzip2 0 1.0.6-r7
Alpine:v3.11 bzip2 0 1.0.6-r7
Alpine:v3.12 bzip2 0 1.0.6-r7
Alpine:v3.13 bzip2 0 1.0.6-r7
Alpine:v3.14 bzip2 0 1.0.6-r7
Alpine:v3.15 bzip2 0 1.0.6-r7
Alpine:v3.16 bzip2 0 1.0.6-r7
Alpine:v3.17 bzip2 0 1.0.6-r7
Alpine:v3.18 bzip2 0 1.0.6-r7
Alpine:v3.19 bzip2 0 1.0.6-r7
Alpine:v3.20 bzip2 0 1.0.6-r7
Alpine:v3.21 bzip2 0 1.0.6-r7
Alpine:v3.22 bzip2 0 1.0.6-r7
Alpine:v3.7 bzip2 0 1.0.6-r7
Alpine:v3.8 bzip2 0 1.0.6-r7
Alpine:v3.9 bzip2 0 1.0.6-r7
Debian:11 bzip2 0 1.0.6-9.1
Debian:11 clamav 0 0.101.4+dfsg-1
Debian:12 bzip2 0 1.0.6-9.1
Debian:12 clamav 0 0.101.4+dfsg-1
Debian:13 bzip2 0 1.0.6-9.1
Debian:13 clamav 0 0.101.4+dfsg-1
Debian:8 bzip2 0 1.0.6-7+deb8u1
Debian:8 clamav 0 0.101.4+dfsg-0+deb8u1
Hackage bz2 0.1.0.0 1.0.1.1
Hackage bzlib 0.4 0.5.2.0
Hackage bzlib-conduit 0.1.0.0 0.3.0.3
Mageia:7 bzip2 0 1.0.8-1.mga7
Mageia:7 c-icap-modules-extra 0 0.5.3-1.mga7
Mageia:7 clamav 0 0.101.4-1.1.mga7
Mageia:7 ecap-clamav 0 2.0.0-3.1.mga7
Red Hat:enterprise_linux:8::baseos bzip2 0 0:1.0.6-27.el8_10
Red Hat:enterprise_linux:8::baseos bzip2-debuginfo 0 0:1.0.6-27.el8_10
Red Hat:enterprise_linux:8::baseos bzip2-debugsource 0 0:1.0.6-27.el8_10
Red Hat:enterprise_linux:8::baseos bzip2-devel 0 0:1.0.6-27.el8_10
Red Hat:enterprise_linux:8::baseos bzip2-libs 0 0:1.0.6-27.el8_10
Red Hat:enterprise_linux:8::baseos bzip2-libs-debuginfo 0 0:1.0.6-27.el8_10
Red Hat:rhel_eus:9.4::appstream bzip2 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::appstream bzip2-debuginfo 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::appstream bzip2-debugsource 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::appstream bzip2-devel 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::appstream bzip2-libs 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::appstream bzip2-libs-debuginfo 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::baseos bzip2 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::baseos bzip2-debuginfo 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::baseos bzip2-debugsource 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::baseos bzip2-devel 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::baseos bzip2-libs 0 0:1.0.8-8.el9_4.1
Red Hat:rhel_eus:9.4::baseos bzip2-libs-debuginfo 0 0:1.0.8-8.el9_4.1
Rocky Linux:8 bzip2 0 0:1.0.6-27.el8_10
Rocky Linux:8 bzip2 0 0:1.0.6-28.el8_10
Rocky Linux:9 bzip2 0 0:1.0.8-10.el9_5
SUSE:Enterprise Storage 4 bzip2 0 1.0.6-30.5.1
SUSE:Enterprise Storage 4 bzip2 0 1.0.6-30.8.1
SUSE:Enterprise Storage 5 bzip2 0 1.0.6-30.5.1
SUSE:Enterprise Storage 5 bzip2 0 1.0.6-30.8.1
SUSE:Enterprise Storage 5 clamav 0 0.100.3-33.26.1
SUSE:Enterprise Storage 5 clamav 0 0.103.0-33.32.1
SUSE:HPE Helion OpenStack 8 bzip2 0 1.0.6-30.8.1
SUSE:HPE Helion OpenStack 8 clamav 0 0.100.3-33.26.1
SUSE:HPE Helion OpenStack 8 clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Desktop 12 SP4 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Desktop 12 SP4 bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Desktop 12 SP4 clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Module for Basesystem 15 bzip2 0 1.0.6-5.6.1
SUSE:Linux Enterprise Module for Basesystem 15 bzip2 0 1.0.6-5.9.1
SUSE:Linux Enterprise Module for Basesystem 15 clamav 0 0.100.3-3.14.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 bzip2 0 1.0.6-5.6.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 bzip2 0 1.0.6-5.9.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 clamav 0 0.100.3-3.14.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 clamav 0 0.103.0-3.23.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 clamav 0 0.103.0-3.23.1
SUSE:Linux Enterprise Point of Sale 11 SP3 bzip2 0 1.0.5-34.256.5.1
SUSE:Linux Enterprise Point of Sale 11 SP3 bzip2 0 1.0.5-34.256.8.1
SUSE:Linux Enterprise Point of Sale 11 SP3 clamav 0 0.100.3-0.20.26.1
SUSE:Linux Enterprise Server 11 SP4-LTSS bzip2 0 1.0.5-34.256.5.1
SUSE:Linux Enterprise Server 11 SP4-LTSS bzip2 0 1.0.5-34.256.8.1
SUSE:Linux Enterprise Server 11 SP4-LTSS clamav 0 0.100.3-0.20.26.1
SUSE:Linux Enterprise Server 12 SP1-LTSS bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server 12 SP1-LTSS bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server 12 SP1-LTSS clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server 12 SP2-BCL bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server 12 SP2-BCL bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server 12 SP2-BCL clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server 12 SP2-BCL clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server 12 SP2-LTSS bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server 12 SP2-LTSS bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server 12 SP2-LTSS clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server 12 SP2-LTSS clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server 12 SP3-BCL bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server 12 SP3-BCL clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server 12 SP3-BCL clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server 12 SP3-LTSS bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server 12 SP3-LTSS bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server 12 SP3-LTSS clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server 12 SP3-LTSS clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server 12 SP4 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server 12 SP4 bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server 12 SP4 clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server 12 SP4-LTSS clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server 12 SP5 clamav 0 0.103.0-3.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 bzip2 0 1.0.6-30.8.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 clamav 0 0.100.3-33.26.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 clamav 0 0.103.0-33.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 clamav 0 0.103.0-3.3.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 bzip2 0 1.0.6-30.5.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 bzip2 0 1.0.6-30.8.1
SUSE:OpenStack Cloud 7 bzip2 0 1.0.6-30.5.1
SUSE:OpenStack Cloud 7 bzip2 0 1.0.6-30.8.1
SUSE:OpenStack Cloud 7 clamav 0 0.100.3-33.26.1
SUSE:OpenStack Cloud 7 clamav 0 0.103.0-33.32.1
SUSE:OpenStack Cloud 8 bzip2 0 1.0.6-30.5.1
SUSE:OpenStack Cloud 8 bzip2 0 1.0.6-30.8.1
SUSE:OpenStack Cloud 8 clamav 0 0.100.3-33.26.1
SUSE:OpenStack Cloud 8 clamav 0 0.103.0-33.32.1
SUSE:OpenStack Cloud 9 clamav 0 0.103.0-33.32.1
SUSE:OpenStack Cloud Crowbar 8 bzip2 0 1.0.6-30.8.1
SUSE:OpenStack Cloud Crowbar 8 clamav 0 0.100.3-33.26.1
SUSE:OpenStack Cloud Crowbar 8 clamav 0 0.103.0-33.32.1
SUSE:OpenStack Cloud Crowbar 9 clamav 0 0.103.0-33.32.1
Ubuntu:14.04:LTS bzip2 0 1.0.6-5ubuntu0.1~esm1
Ubuntu:14.04:LTS clamav 0 0.101.4+dfsg-0ubuntu0.14.04.1+esm1
Ubuntu:16.04:LTS bzip2 0 1.0.6-8ubuntu0.2
Ubuntu:16.04:LTS bzip2 0 1.0.6-8ubuntu0.1
Ubuntu:16.04:LTS clamav 0 0.101.4+dfsg-0ubuntu0.16.04.1
Ubuntu:18.04:LTS bzip2 0 1.0.6-8.1ubuntu0.2
Ubuntu:18.04:LTS bzip2 0 1.0.6-8.1ubuntu0.1
Ubuntu:18.04:LTS clamav 0 0.101.4+dfsg-0ubuntu0.18.04.1
Ubuntu:Pro:14.04:LTS bzip2 0 1.0.6-5ubuntu0.1~esm2
Ubuntu:Pro:14.04:LTS bzip2 0 1.0.6-5ubuntu0.1~esm1
Ubuntu:Pro:14.04:LTS clamav 0 0.101.4+dfsg-0ubuntu0.14.04.1+esm1
openSUSE:Leap 15.0 bzip2 0 1.0.6-lp151.5.6.1
openSUSE:Leap 15.0 bzip2 0 1.0.6-lp151.5.9.1
openSUSE:Leap 15.0 clamav 0 0.100.3-lp150.2.13.1
openSUSE:Leap 15.1 bzip2 0 1.0.6-lp151.5.6.1
openSUSE:Leap 15.1 bzip2 0 1.0.6-lp151.5.9.1
openSUSE:Leap 15.1 clamav 0 0.100.3-lp151.2.3.1
openSUSE:Leap 15.1 clamav 0 0.103.0-lp151.2.12.1
openSUSE:Leap 15.2 clamav 0 0.103.0-lp152.6.3.1
openSUSE:Tumbleweed bzip2 0 1.0.8-3.2
openSUSE:Tumbleweed clamav 0 0.103.3-1.4

Related vulnerabilities