Vulnerability in P5-Encode Project
CVE-2021-36770
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 (71.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: -0.000
Affected products
- P5-Encode Project
- Perl
- Fedoraproject Fedora — versions 34, 33
Weakness classification (CWE)
Public proof-of-concept exploits
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)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.netapp.com/advisory/ntap-20210909-0003/ (Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2021-36770?
- CVE-2021-36770 is a high-severity vulnerability in P5-Encode Project, classified under Uncontrolled Search Path Element. CVSS score: 7.8/10. Published 2021-08-11.
- How severe is CVE-2021-36770?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2021-36770 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.