PT-2021-4681 · Perl+2 · Perl+2
Dom Hargreaves
+1
·
Published
2021-08-09
·
Updated
2024-08-28
·
CVE-2021-36770
CVSS v2.0
9.3
High
| Vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Encode.pm versions 3.05 through 3.11
Perl versions through 5.34.0
Description
The issue is related to incorrect path handling in the Encode.pm module of the Perl programming language. This allows an attacker to inject arbitrary code and gain privileges. The exploitation requires an unusual configuration. The problem occurs because the || operator evaluates @INC in a scalar context, resulting in @INC having only an integer value.
Recommendations
For Encode.pm versions 3.05 through 3.11, consider disabling the Encode::ConfigLocal library as a temporary workaround until a patch is available.
For Perl versions through 5.34.0, update to a version that includes the fix for this issue.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Untrusted Search Path
Uncontrolled Search Path Element
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Encode.Pm
Perl
Ubuntu