#VU55804 Insecure library loading in p5-encode - CVE-2021-36770
Published: August 12, 2021 / Updated: December 21, 2022
Vulnerability identifier: #VU55804
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-36770
CWE-ID: CWE-427
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
p5-encode
p5-encode
Software vendor:
Dan Kogai
Dan Kogai
Description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a logic error in the Encode.pm script. A local user can place a malicious library into the current working directory and escalate privileges on the system.
Remediation
Install updates from vendor's website.
External links
- https://security-tracker.debian.org/tracker/CVE-2021-36770
- https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9
- https://news.cpanel.com/unscheduled-tsr-10-august-2021/
- https://metacpan.org/dist/Encode/changes
- https://github.com/dankogai/p5-encode/commit/527e482dc70b035d0df4f8c77a00d81f8d775c74