CVE-2021-36770

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductP5-encode
PublishedAug 11, 2021
First seenAug 11, 2021

How to fix

Affected products

ProductAffected versionsFixed in
p5-encode_project p5-encode3.05 ≤ v < 3.123.12
fedoraproject fedora34, 33—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.