CVE-2023-40477

NameCVE-2023-40477
DescriptionRARLAB 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3542-1, DLA-3543-1, DLA-3653-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libclamunrar (PTS)buster/non-free0.102.3-0+deb10u1vulnerable
buster/non-free (security)0.103.10-0+deb10u1fixed
bullseye/non-free0.103.10-1~deb11u1fixed
bookworm/non-free1.0.3-1~deb12u1fixed
sid/non-free, trixie/non-free1.0.3-2fixed
rar (PTS)buster/non-free2:5.5.0-1vulnerable
buster/non-free (security)2:6.23-1~deb10u1fixed
bullseye/non-free2:6.23-1~deb11u1fixed
bookworm/non-free2:6.23-1~deb12u1fixed
sid/non-free, trixie/non-free2:7.00-1fixed
unrar-nonfree (PTS)buster/non-free1:5.6.6-1+deb10u1vulnerable
buster/non-free (security)1:5.6.6-1+deb10u4fixed
bullseye/non-free1:6.0.3-1+deb11u3fixed
bookworm/non-free1:6.2.6-1+deb12u1fixed
sid/non-free, trixie/non-free1:7.0.9-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libclamunrarsourcebuster0.103.10-0+deb10u1DLA-3653-1
libclamunrarsourcebullseye0.103.10-1~deb11u1
libclamunrarsourcebookworm1.0.3-1~deb12u1
libclamunrarsource(unstable)1.0.3-1
rarsourcebuster2:6.23-1~deb10u1DLA-3543-1
rarsourcebullseye2:6.23-1~deb11u1
rarsourcebookworm2:6.23-1~deb12u1
rarsource(unstable)2:6.23-1
unrar-nonfreesourcebuster1:5.6.6-1+deb10u4DLA-3542-1
unrar-nonfreesourcebullseye1:6.0.3-1+deb11u3
unrar-nonfreesourcebookworm1:6.2.6-1+deb12u1
unrar-nonfreesource(unstable)1:6.2.10-1

Notes

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

Search for package or bug name: Reporting problems