Download of code without integrity check in App-cpanminus - CVE-2024-45321

 

Download of code without integrity check in App-cpanminus - CVE-2024-45321

Published: November 26, 2024


Vulnerability identifier: #VU100914
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-45321
CWE-ID: CWE-494
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system

The vulnerability exists due to software does not perform software integrity check when downloading updates via the insecure HTTP protocol. A remote attacker with ability to perform man-in-the-middle (MitM) attack can supply malicious code to the application and compromise the affected system.


Affected software

App-cpanminus
IBM Cloud Pak for Watson AIOps
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Fedora
perl-CPAN-DistnameInfo
perl-CPAN-Meta-Check
perl-Parse-PMFile
perl-String-ShellQuote
perl-File-pushd
perl-Module-CPANfile
perl-App-cpanminus
perl-App-cpanminus (Red Hat package)

How to mitigate CVE-2024-45321

Install updates from vendor's website.

App-cpanminus - update to 1.7048
perl-CPAN-DistnameInfo - update to 0.12-13
perl-CPAN-Meta-Check - update to 0.014-6
perl-Parse-PMFile - update to 0.41-7
perl-String-ShellQuote - update to 1.04-24
perl-File-pushd - update to 1.014-6
perl-Module-CPANfile - update to 1.1002-7
perl-App-cpanminus - update to 1.7044-6
perl-App-cpanminus (Red Hat package) - update to 1.7044-14.1.el9_5
perl-App-cpanminus - addressed in versions 1.7047-2.fc39, 1.7047-4.fc40, 1.7047-5.fc41
IBM Cloud Pak for Watson AIOps - update to 4.8.0

External References

Related Security Bulletins