{"id":"MGASA-2021-0527","summary":"Updated perl/perl-Encode packages fix security vulnerability","details":"Encode.pm, as distributed in Perl through 5.34.0, allows local users to\ngain privileges via a Trojan horse Encode::ConfigLocal library (in the\ncurrent working directory) that preempts dynamic module loading.\nExploitation requires an unusual configuration, and certain 2021 versions\nof Encode.pm (3.05 through 3.11). This issue occurs because the || operator\nevaluates @INC in a scalar context, and thus @INC has only an integer value.\n","modified":"2026-02-04T03:12:08.606987Z","published":"2021-12-02T16:49:28Z","related":["CVE-2021-36770"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0527.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=29352"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/6KOZYD7BH2DNIAEZ2ZL4PJ4QUVQI6Y33/"},{"type":"REPORT","url":"https://ubuntu.com/security/notices/USN-5033-1"}],"affected":[{"package":{"name":"perl","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/perl?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.32.1-1.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0527.json"}},{"package":{"name":"perl-Encode","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/perl-Encode?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.80.0-1.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0527.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}