CVE-2024-45321 json
The App::cpanminus package through 1.7047 for Perl downloads code via insecure HTTP, enabling code execution for network attackers.
published 2024-08-27 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-41438
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
The App::cpanminus package through 1.7047 for Perl downloads code via insecure HTTP, enabling code execution for network attackers.
Patch / fix
- perl-App-cpanminus RHEL 9 1.7044-14.1.el9_5
red hat advisories RHSA-2024:10218
- perl-App-cpanminus openSUSE Tumbleweed 1.7047-2.1
opensuse advisories openSUSE-SU-2024:14291-1
- perl-App-cpanminus AlmaLinux 9 1.7044-14.1.el9_5
- perl-File-pushd AlmaLinux 8 1.014-6.module_el8.6.0+2851+b32f1bac
- perl-Parse-PMFile AlmaLinux 8 0.41-7.module_el8.6.0+2851+b32f1bac
- perl-App-cpanminus AlmaLinux 8 1.7044-6.module_el8.10.0+3924+8d272be4
- perl-CPAN-Meta-Check AlmaLinux 8 0.014-6.module_el8.10.0+3924+8d272be4
- perl-Module-CPANfile AlmaLinux 8 1.1002-7.module_el8.6.0+2792+592c5e39
- perl-CPAN-DistnameInfo AlmaLinux 8 0.12-13.module_el8.6.0+2810+886f1911
- perl-String-ShellQuote AlmaLinux 8 1.04-24.module_el8.6.0+2810+886f1911
almalinux advisories ALSA-2024:10218ALSA-2024:10219
- perl-App-cpanminus Rocky Linux 9 1.7044-14.1.el9_5
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.10.0+1890+1072d5cf
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.9.0+1491+219f8fe7
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.9.0+1491+3507a112
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.10.0+1890+281b551b
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.9.0+1491+a1bcd037
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.10.0+1890+318cbfb5
- perl-File-pushd Rocky Linux 8 1.014-6.module+el8.10.0+1890+372c0e22
rocky linux advisories RLSA-2024:10218RLSA-2024:10219
- github.com/miyagawa/cpanminus#674 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-45321 updated cvss 8.1
perl-App-cpanminus: Insecure HTTP in App::cpanminus Allows Code Execution Vulnerability
-
Red Hat Enterprise Linux 7 perl-App-cpanminusaffected: workaround, no fix available
-
Red Hat Enterprise Linux 8 perl-File-pushd, perl-Parse-PMFile, perl-App-cpanminus, perl-CPAN-Meta-Check, perl-Module-CPANfile, perl-CPAN-DistnameInfo, +1 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) perl-File-pushd 1.014-6.module+el8.10.0+22411+409a293e, perl-File-pushd 1.014-6.module+el8.10.0+22411+7e3d2305, perl-File-pushd 1.014-6.module+el8.10.0+22411+85254afd, perl-File-pushd 1.014-6.module+el8.10.0+22411+e14e3526, perl-Parse-PMFile 0.41-7.module+el8.10.0+22411+409a293e, perl-Parse-PMFile 0.41-7.module+el8.10.0+22411+7e3d2305, +21 morefixed: vendor fix RHSA-2024:10219
-
Red Hat Enterprise Linux AppStream (v. 9) perl-App-cpanminus 1.7044-14.1.el9_5fixed: vendor fix RHSA-2024:10218
-
Red Hat Enterprise Linux 10 perl-App-cpanminusnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.metacpan.org https://security.metacpan.org/2024/08/26/cpanminus-downloads-code-using-insecure-http.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- perl cpanminus
Classification
- Weakness
-
- CWE-494 Download of Code Without Integrity Check
References
-
github.com
/miyagawa/cpanminus/pull/674
issue-tracking, patch
-
security.metacpan.org
/2024/08/26/cpanminus-downloads-code-using-insecure-http.html
exploit, third-party-advisory
-
github.com
/miyagawa/cpanminus/issues/611
issue-tracking
Sources
- CVE List CVE-2024-45321
- NVD CVE-2024-45321
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.