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 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 41%
VendorProductVersion
p5-encode_projectp5-encode
3.05 ≤
𝑥
< 3.12
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libencode-perl
bullseye
3.08-1+deb11u2
fixed
buster
not-affected
stretch
not-affected
bullseye (security)
3.08-1+deb11u1
fixed
bookworm
3.19-1
fixed
sid
3.21-1
fixed
trixie
3.21-1
fixed
perl
bullseye
5.32.1-4+deb11u3
fixed
buster
not-affected
stretch
not-affected
bullseye (security)
5.32.1-4+deb11u4
fixed
bookworm
5.36.0-7+deb12u1
fixed
sid
5.40.0-6
fixed
trixie
5.40.0-6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libencode-perl
noble
needed
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needed
impish
ignored
hirsute
ignored
groovy
ignored
focal
not-affected
bionic
not-affected
xenial
needs-triage
trusty
dne
perl
noble
Fixed 5.32.1-3ubuntu3
released
mantic
Fixed 5.32.1-3ubuntu3
released
lunar
Fixed 5.32.1-3ubuntu3
released
kinetic
Fixed 5.32.1-3ubuntu3
released
jammy
Fixed 5.32.1-3ubuntu3
released
impish
Fixed 5.32.1-3ubuntu3
released
hirsute
Fixed 5.32.1-3ubuntu2.1
released
groovy
ignored
focal
not-affected
bionic
not-affected
xenial
not-affected
trusty
not-affected