CVE-2021-36770
Published: 9 August 2021
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.
Priority
CVSS 3 base score: 7.8
Status
Package | Release | Status |
---|---|---|
libencode-perl Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(2.96-1)
|
focal |
Not vulnerable
(3.02-1)
|
|
groovy |
Ignored
(reached end-of-life)
|
|
hirsute |
Ignored
(reached end-of-life)
|
|
impish |
Needed
|
|
jammy |
Needed
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Ignored
(out of standard support)
|
|
perl Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(5.26.1-6ubuntu0.5)
|
focal |
Not vulnerable
(5.30.0-9ubuntu0.2)
|
|
groovy |
Ignored
(reached end-of-life)
|
|
hirsute |
Released
(5.32.1-3ubuntu2.1)
|
|
impish |
Released
(5.32.1-3ubuntu3)
|
|
jammy |
Released
(5.32.1-3ubuntu3)
|
|
trusty |
Not vulnerable
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
|
Notes
Author | Note |
---|---|
mdeslaur | Introduced by change in Encode 3.05 in perl 5.32 and 5.34. |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-36770
- https://ubuntu.com/security/notices/USN-5033-1
- NVD
- Launchpad
- Debian