Advisory
UBUNTU-CVE-2023-40477
Also known as: CVE-2023-40477
Summary
The record has no summary.
Details
RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of recovery volumes. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-21233.
Severity
High Basis: CVSS v3 score 7.8, vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Dates
- Published
- 2023-08-25 00:00 UTC
- Modified
- 2026-04-22 14:11 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| libclamunrar | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| rar | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| unrar-nonfree | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| libclamunrar | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| rar | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| unrar-nonfree | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| libclamunrar | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| rar | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| unrar-nonfree | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| libclamunrar | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| rar | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| unrar-nonfree | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| rar | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2023-40477
- https://www.zerodayinitiative.com/advisories/ZDI-23-1152/
- https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa
- https://blog.clamav.net/2023/08/clamav-120-feature-version-and-111-102.html
- https://ubuntu.com/security/notices/USN-6569-1
- https://www.cve.org/CVERecord?id=CVE-2023-40477
- https://ubuntu.com/security/notices/USN-7349-1
- https://ubuntu.com/security/notices/USN-7350-1
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0