Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-36770 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74 CVEPatchThird Party Advisory
https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9 CVEPatchThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5NDGQSGMEZ75FJGBKNYC75OTO7TF7XHB/ CVE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/ CVE
https://metacpan.org/dist/Encode/changes CVEThird Party Advisory

see all 17 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-427Uncontrolled Search Path Element[email protected]

Affected Products

ProductVersions
p5-encode project p5-encode
>= 3.05, < 3.12

CPE

  • cpe:2.3:a:p5-encode_project:p5-encode:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
perl perl
<= 5.34.0

CPE

  • cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
34
33

CPE

  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

11 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-36770
NVD Published Date:
Aug 11, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-36770 Details - Not Deferred