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, ELA-938-1, ELA-939-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libclamunrar (PTS)jessie/non-free0.99-0+deb8u3vulnerable
stretch/non-free0.102.3-0+deb9u1vulnerable
buster/non-free (security), buster/non-free0.103.10-0+deb10u1fixed
bullseye/non-free0.103.10-1~deb11u1fixed
bookworm/non-free1.0.3-1~deb12u1fixed
trixie/non-free, sid/non-free1.3.1-1fixed
rar (PTS)jessie/non-free2:4.2.0+dfsg.1-0.1vulnerable
stretch/non-free2:6.23-1~deb9u1fixed
buster/non-free (security), buster/non-free2:6.23-1~deb10u1fixed
bullseye/non-free2:6.23-1~deb11u1fixed
bookworm/non-free2:6.23-1~deb12u1fixed
trixie/non-free2:7.01-1fixed
sid/non-free2:7.10~b1-1fixed
unrar-nonfree (PTS)jessie/non-free1:5.2.7-0.1+deb8u1vulnerable
stretch/non-free1:5.6.6-1+deb9u2fixed
buster/non-free (security), buster/non-free1:5.6.6-1+deb10u4fixed
bullseye/non-free1:6.0.3-1+deb11u3fixed
bookworm/non-free1:6.2.6-1+deb12u1fixed
trixie/non-free, sid/non-free1:7.1.1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libclamunrarsourcejessie(unfixed)end-of-life
libclamunrarsourcestretch(unfixed)end-of-life
libclamunrarsourcebuster0.103.10-0+deb10u1DLA-3653-1
libclamunrarsourcebullseye0.103.10-1~deb11u1
libclamunrarsourcebookworm1.0.3-1~deb12u1
libclamunrarsource(unstable)1.0.3-1
rarsourcejessie(unfixed)end-of-life
rarsourcestretch2:6.23-1~deb9u1ELA-938-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-nonfreesourcejessie(unfixed)end-of-life
unrar-nonfreesourcestretch1:5.6.6-1+deb9u2ELA-939-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