CVE-2023-40477 Affecting rar package, versions <2:6.23-1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2410-RAR-8195884
  • published15 Oct 2024
  • disclosed3 May 2024

Introduced: 3 May 2024

CVE-2023-40477  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 rar to version 2:6.23-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rar package and not the rar package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1