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.
Notes
Author | Note |
---|---|
mdeslaur | Introduced by change in Encode 3.05 in perl 5.32 and 5.34. |
Priority
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 |
Ignored
(reached end-of-life)
|
|
jammy |
Needed
|
|
kinetic |
Needed
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Needs triage
|
|
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)
|
|
kinetic |
Released
(5.32.1-3ubuntu3)
|
|
trusty |
Not vulnerable
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
|
|
Patches: upstream: https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |