Vulnerability in P5-Encode Project
CVE-2021-36770
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.014 · 73.0th percentile
- Published
- 2021-08-11
Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a Trojan horse Encode::ConfigLocal library (in the current working directory) that preempts dynamic module loading. Exploitation requires an unusual configuration, and certain 2021 versions of Encode.pm (3.05 through 3.11). This issue occurs because the || operator evaluates @INC in a scalar context, and thus @INC has only an integer value.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 73.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- P5-Encode Project
- Fedoraproject Fedora — versions 34, 33
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (raylivesun/pldo, raylivesun/ploa). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- metacpan.org/dist/Encode/changes (Third Party Advisory)
- security-tracker.debian.org/tracker/CVE-2021-36770 (Third Party Advisory)
- github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74 (Patch, Third Party Advisory)
- github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9 (Patch, Third Party Advisory)
- news.cpanel.com/unscheduled-tsr-10-august-2021/ (Third Party Advisory)
- FEDORA-2021-92e07de1dd (vendor-advisory)
- FEDORA-2021-44c65203cc (vendor-advisory)
- security.netapp.com/advisory/ntap-20210909-0003/ (Third Party Advisory)
- security.netapp.com/advisory/ntap-20241108-0002/