CVE-2021-36770
7.8
HIGH
CVSS 3.1
EPSS 0.11%
Description
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.
How to fix CVE-2021-36770
To remediate CVE-2021-36770, upgrade the affected package to a fixed version below.
- —upgrade to 5.34.0-r1 or later
- —upgrade to 3.12-r0 or later
- —upgrade to 3.08-1+deb11u1 or later
- —upgrade to 5.32.1-4+deb11u1 or later
Is CVE-2021-36770 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 5.34.0-r1
- from 0, < 3.12-r0
- from 0, < 3.08-1+deb11u1
- from 0, < 5.32.1-4+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |