Vulnerability identifier: #VU23839
Vulnerability risk: Medium
CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-125
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
libarchive
Client/Desktop applications /
Software for archiving
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.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
libarchive: 3.4.0
External links
http://github.com/libarchive/libarchive/releases/tag/v3.4.1
http://github.com/libarchive/libarchive/pull/1212
http://github.com/mmatuska/libarchive/commit/809f0dc32fff7434aef45a7c688fa285c7208af7
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.