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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "libperl-dev" }, { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "libperl5.26" }, { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "perl" }, { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "perl-base" }, { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "perl-debug" }, { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "perl-doc" }, { "binary_version": "5.26.1-6ubuntu0.5", "binary_name": "perl-modules-5.26" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "libperl-dev" }, { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "libperl5.30" }, { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "perl" }, { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "perl-base" }, { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "perl-debug" }, { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "perl-doc" }, { "binary_version": "5.30.0-9ubuntu0.2", "binary_name": "perl-modules-5.30" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "5.32.1-3ubuntu3", "binary_name": "libperl-dev" }, { "binary_version": "5.32.1-3ubuntu3", "binary_name": "libperl5.32" }, { "binary_version": "5.32.1-3ubuntu3", "binary_name": "perl" }, { "binary_version": "5.32.1-3ubuntu3", "binary_name": "perl-base" }, { "binary_version": "5.32.1-3ubuntu3", "binary_name": "perl-debug" }, { "binary_version": "5.32.1-3ubuntu3", "binary_name": "perl-doc" }, { "binary_version": "5.32.1-3ubuntu3", "binary_name": "perl-modules-5.32" } ] }