CVE-2021-36770
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
- p5-encode_project p5-encode3.12 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| p5-encode_project p5-encode | 3.05 ≤ v < 3.12 | 3.12 |
| fedoraproject fedora | 34, 33 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.