Lucene search

K
osvGoogleOSV:CVE-2021-36770
HistoryAug 11, 2021 - 11:15 p.m.

CVE-2021-36770

2021-08-1123:15:07
Google
osv.dev
8
cve-2021-36770
perl
encode.pm
privilege escalation
trojan horse
library
dynamic module loading
unusual configuration
integer value

AI Score

6.6

Confidence

High

EPSS

0.001

Percentile

37.9%

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.