Cloudanix VulnDB

CVE-2024-20696

High · 7.3

CVSS

7.3

EPSS

3.1%

Published

Jan 9, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in Windows archive handling could allow attackers to take over a computer if someone opens a specially made file.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Full Compromise
Component
Library
Class
RCE
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

The vulnerability permits arbitrary code execution when libarchive processes a specially crafted archive file on affected Windows systems, triggered locally with user interaction and low privileges.

Why it matters to the business

Attackers could gain full control over affected systems, leading to data theft, ransomware deployment, or lateral movement, especially in environments relying on archive handling for backups or file transfers; high prevalence across Windows deployments increases exposure risk despite low EPSS.

How an attack unfolds

An attacker crafts a malicious archive exploiting parsing flaws in libarchive, delivers it via email or download, and relies on the victim opening or extracting it on a vulnerable Windows system to achieve code execution.

How to fix it

Apply the latest Windows security updates addressing libarchive components; where updates are unavailable, restrict archive handling to trusted sources and consider sandboxing extraction processes.

How to confirm the fix worked

Verify patch installation via Windows Update history or system version checks; test by attempting extraction of known benign archives and monitoring for anomalous behavior in libarchive libraries.

Typical attack path

  1. Identify or create a target using archive extraction features on Windows
  2. Craft a malicious archive file exploiting libarchive parsing logic
  3. Deliver the file through phishing, shared storage, or web download
  4. Trick the user into opening or extracting the archive
  5. Achieve remote code execution with the privileges of the extracting process

How to detect it

Review system logs for unusual process spawns or crashes during archive operations; inspect file access logs for suspicious archive files from external sources.

What your security team should do

  • Prioritize deployment of available Windows updates to all affected versions
  • Monitor for new fixed versions from Microsoft and test in staging environments
  • Implement application allowlisting to limit execution of archive tools
  • Educate users on risks of opening untrusted archive files

The record

Windows Libarchive Remote Code Execution Vulnerability

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.17 libarchive 0 3.7.5-r0
Alpine:v3.18 libarchive 0 3.7.5-r0
Alpine:v3.19 libarchive 0 3.7.5-r0
Alpine:v3.20 libarchive 0 3.7.5-r0
Alpine:v3.21 libarchive 0 3.7.5-r0
Alpine:v3.22 libarchive 0 3.7.5-r0
Debian:11 libarchive 0 No fix
Debian:11 libarchive 0 3.4.3-2+deb11u2
Debian:12 libarchive 0 No fix
Debian:12 libarchive 0 3.6.2-1+deb12u2
Debian:13 libarchive 0 No fix
Debian:14 libarchive 0 3.7.4-1.1
Mageia:9 libarchive 0 3.6.2-5.3.mga9
SUSE:Enterprise Storage 7.1 libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Micro 5.3 libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Micro 5.4 libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Micro 5.5 libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5 libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 libarchive 0 3.7.2-150600.3.3.1
SUSE:Linux Enterprise Module for Development Tools 15 SP5 libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6 libarchive 0 3.7.2-150600.3.3.1
SUSE:Linux Enterprise Server 12 SP5 libarchive 0 3.3.3-32.11.1
SUSE:Linux Enterprise Server 15 SP2-LTSS libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise Server 15 SP3-LTSS libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise Server 15 SP4-LTSS libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 libarchive 0 3.3.3-32.11.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 libarchive 0 3.4.2-150200.4.18.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 libarchive 0 3.5.1-150400.3.15.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 libarchive 0 3.3.3-32.11.1
SUSE:Manager Proxy 4.3 libarchive 0 3.5.1-150400.3.15.1
SUSE:Manager Server 4.3 libarchive 0 3.5.1-150400.3.15.1
Ubuntu:20.04:LTS libarchive 0 3.4.0-2ubuntu1.4
Ubuntu:22.04:LTS libarchive 0 3.6.0-1ubuntu1.3
Ubuntu:24.04:LTS libarchive 0 3.7.2-2ubuntu0.3
Ubuntu:24.10 libarchive 0 3.7.4-1ubuntu0.1
Ubuntu:25.04 libarchive 0 3.7.4-1ubuntu1
Ubuntu:Pro:14.04:LTS libarchive 0 No fix
Ubuntu:Pro:16.04:LTS libarchive 0 No fix
Ubuntu:Pro:18.04:LTS libarchive 0 No fix
openSUSE:Leap 15.5 libarchive 0 3.5.1-150400.3.15.1
openSUSE:Leap 15.6 libarchive 0 3.7.2-150600.3.3.1
openSUSE:Leap Micro 5.3 libarchive 0 3.5.1-150400.3.15.1
openSUSE:Leap Micro 5.4 libarchive 0 3.5.1-150400.3.15.1
openSUSE:Tumbleweed libarchive 0 3.7.6-1.1

Related vulnerabilities