CVE-2024-20696
vulnerability analysis and mitigation

Overview

CVE-2024-20696 is a Remote Code Execution vulnerability in Windows libarchive, disclosed on January 9, 2024. The vulnerability affects Microsoft's implementation of libarchive, an open-source library used by Windows to support compression and decompression functionality for various formats including .rar, .7z, and .gz archives (MSRC, NVD).

Technical details

The vulnerability exists in the copy_from_lzss_window function within archiveint.dll, where a negative integer length parameter could be cast to an unsigned integer, potentially leading to a large value being used in a memcpy operation. The issue received a CVSS v3.1 base score of 7.3 (High) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. Microsoft has classified this as a heap-based buffer overflow vulnerability (CWE-122) (ClearBlueJar).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code with elevated privileges on affected systems. The vulnerability affects multiple versions of Windows, including Windows 10, Windows 11, and Windows Server installations (MSRC).

Mitigation and workarounds

Microsoft has released security updates to address this vulnerability through various Knowledge Base (KB) updates: KB5034121 for Windows 11 21H2, KB5034122 for Windows 10, KB5034123 for Windows 11 22H2/23H2, KB5034127 for Windows Server 2019, and KB5034129 for Windows Server 2022. Users are advised to apply these security updates to protect their systems (MSRC).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management