A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Fedoraproject fedora
- P5 Encode Project p5-encode
- Perl perl
Weakness type
References
- github.com /Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9
- github.com /dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f…
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/m…
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/m…
- metacpan.org /dist/Encode/changes
- news.cpanel.com /unscheduled-tsr-10-august-2021/
- security-tracker.debian.org /tracker/CVE-2021-36770
- security.netapp.com /advisory/ntap-20210909-0003/
- security.netapp.com /advisory/ntap-20241108-0002/
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning