HIGH · 7.8

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 l...

Vulnerability 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.

CVSS Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
P5-Encode ProjectP5-Encode>= 3.05, < 3.12
PerlPerl<= 5.34.0
FedoraprojectFedora34

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-36770?

CVE-2021-36770 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 l...

How severe is CVE-2021-36770?

CVE-2021-36770 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-36770?

Check the references section above for vendor advisories and patch information. Affected products include: P5-Encode Project P5-Encode, Perl Perl, Fedoraproject Fedora.