CVE-2024-20697: Windows libarchive Remote Code Execution Vulnerability
CVE-2024-20697 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.65% probability of exploitation activity in the next 30 days, higher than 77% of all scored vulnerabilities. Microsoft released the fix on 9 January 2024 in the January 2024 Patch Tuesday, delivered through 2 security updates (KB5034123, KB5034130). It affects 5 products in 1 product family (Windows).
Key facts
- CVE ID
- CVE-2024-20697
- 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.65% (percentile 77%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- January 2024 Patch Tuesday
- Product families
- Windows
CVSS score and vector
Microsoft scores CVE-2024-20697 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 (5)
Windows
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| 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 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 (2)
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 11 22h2 (arm64) | before 10.0.22621.3007 |
| windows 11 22h2 (x64) | before 10.0.22621.3007 |
| windows 11 23h2 (arm64) | before 10.0.22631.3007 |
| windows 11 23h2 (x64) | before 10.0.22631.3007 |
| windows server 2022 23h2 | all listed versions |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-20697 (Patch, Vendor Advisory)
- http://www.openwall.com/lists/oss-security/2024/06/04/2
- http://www.openwall.com/lists/oss-security/2024/06/05/1
- https://github.com/advisories/GHSA-w6xv-37jv-7cjr
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-20697 (Patch, Vendor Advisory)
- https://www.zerodayinitiative.com/blog/2024/4/17/cve-2024-20697-windows-libarchive-remote-code-execution-vulnerability
Acknowledgments
- Microsoft Offensive Research & Security Engineering with Microsoft
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |