Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

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

AuthorNote
mdeslaur
Introduced by change in Encode 3.05 in perl 5.32 and 5.34.

Priority

Medium

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
libencode-perl
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(2.96-1)
focal Not vulnerable
(3.02-1)
groovy Ignored
(end of life)
hirsute Ignored
(end of life)
impish Ignored
(end of life)
jammy Needed

kinetic Ignored
(end of life, was needed)
lunar Ignored
(end of life, was needed)
mantic 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
(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)
lunar
Released (5.32.1-3ubuntu3)
mantic
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