CVE-2024-20696: Windows libarchive Remote Code Execution Vulnerability
CVE-2024-20696 is a remote code execution vulnerability in Windows libarchive, rated Important by Microsoft, with a CVSS 3.1 base score of 7.3 (High). An attacker can exploit it by an attacker with local access, with low privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 1.84% probability of exploitation activity in the next 30 days, higher than 80% of all scored vulnerabilities. Microsoft released the fix on 9 January 2024 in the January 2024 Patch Tuesday, delivered through 6 security updates (KB5034127, KB5034129, KB5034121, KB5034122 and more). It affects 20 products in 1 product family (Windows).
Key facts
- CVE ID
- CVE-2024-20696
- Severity
- High CVSS 7.3
- Microsoft severity
- Important
- Impact
- Remote Code Execution
- Exploited in the wild
- No
- Publicly disclosed
- No
- Exploitation likelihood
- Less Likely
- Weakness
- CWE-122
- EPSS
- 1.84% (percentile 80%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- January 2024 Patch Tuesday
- Product families
- Windows
CVSS score and vector
Microsoft scores CVE-2024-20696 at 7.3 (temporal 6.4) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
| Exploit code maturity | Unproven |
| Remediation level | Official fix |
| Report confidence | Confirmed |
Frequently asked questions (Microsoft)
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution?
The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
According to the CVSS metric, user interaction is required (UI:R) and privileges required is Low (PR:L). What does that mean for this vulnerability?
An authorized attacker with guest privileges must send a victim a malicious site and convince them to open it.
Affected products (20)
Windows
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | KB5034127 | Security Update | 10.0.17763.5329 | Yes |
| Windows 10 Version 1809 for x64-based Systems | KB5034127 | Security Update | 10.0.17763.5329 | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | KB5034127 | Security Update | 10.0.17763.5329 | Yes |
| Windows Server 2019 | KB5034127 | Security Update | 10.0.17763.5329 | Yes |
| Windows Server 2019 (Server Core installation) | KB5034127 | Security Update | 10.0.17763.5329 | Yes |
| Windows Server 2022 | KB5034129 | Security Update | 10.0.20348.2227 | Yes |
| Windows Server 2022 (Server Core installation) | KB5034129 | Security Update | 10.0.20348.2227 | Yes |
| Windows 11 version 21H2 for x64-based Systems | KB5034121 | Security Update | 10.0.22000.2713 | Yes |
| Windows 11 version 21H2 for ARM64-based Systems | KB5034121 | Security Update | 10.0.22000.2713 | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | KB5034122 | Security Update | 10.0.19044.3930 | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5034122 | Security Update | 10.0.19044.3930 | Yes |
| Windows 10 Version 21H2 for x64-based Systems | KB5034122 | Security Update | 10.0.19044.3930 | Yes |
| Windows 11 Version 22H2 for ARM64-based Systems | KB5034123 | Security Update | 10.0.22621.3007 | Yes |
| Windows 11 Version 22H2 for x64-based Systems | KB5034123 | Security Update | 10.0.22621.3007 | Yes |
| Windows 10 Version 22H2 for x64-based Systems | ||||
| Windows 10 Version 22H2 for ARM64-based Systems | ||||
| Windows 10 Version 22H2 for 32-bit Systems | ||||
| Windows 11 Version 23H2 for ARM64-based Systems | ||||
| Windows 11 Version 23H2 for x64-based Systems | ||||
| Windows Server 2022, 23H2 Edition (Server Core installation) | KB5034130 | Security Update | 10.0.25398.643 | Yes |
Security updates (6)
Exploitation and detection
Detection and weaponization
Weaponization maturity: Exploit.
Proof-of-concept repositories (1)
- clearbluejar/CVE-2024-20696 · 8 stars
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 7.3 (HIGH)
- NVD weakness
- CWE-122
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| windows 10 1809 | before 10.0.17763.5329 |
| windows 10 21h2 | before 10.0.19044.3930 |
| windows 10 22h2 | before 10.0.19045.3930 |
| windows 11 21h2 | before 10.0.22000.2713 |
| windows 11 22h2 | before 10.0.22621.3007 |
| windows 11 23h2 | before 10.0.22631.3007 |
| windows server 2019 | before 10.0.17763.5329 |
| windows server 2022 | before 10.0.20348.2227 |
| windows server 2022 23h2 | before 10.0.25398.643 |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-20696 (Patch, Vendor Advisory)
- https://clearbluejar.github.io/posts/patch-tuesday-diffing-cve-2024-20696-windows-libarchive-rce/
- https://github.com/clearbluejar/CVE-2024-20696
- https://lists.debian.org/debian-lts-announce/2024/11/msg00007.html
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-20696 (Patch, Vendor Advisory)
Acknowledgments
- Microsoft Offensive Research & Security Engineering with Microsoft
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |