#VU23839 Out-of-bounds read in libarchive

 

#VU23839 Out-of-bounds read in libarchive

Published: December 30, 2019


Vulnerability identifier: #VU23839
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
libarchive
Software vendor:
libarchive

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when processing archives in RAR5 reader within the init_unpack() function in /libarchive/archive_read_support_format_rar5.c, related to window_mask variable. A remote attacker can create a specially crafted file, pass it to the application, trigger out-of-bounds read error and read contents of memory on the system.


Remediation

Install updates from vendor's website.

External links