Vulnerability identifier: #VU83507
Vulnerability risk: High
CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID: CVE-2022-48522
CWE-ID:
CWE-121
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Perl
Universal components / Libraries /
Scripting languages
Vendor: Perl
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the S_find_uninit_var() function in sv.c. A remote attacker can pass specially crafted input to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Perl: 5.34.0 - 5.34.1, 5.35.0 - 5.35.11, 5.36.0 - 5.36.1, 5.37.0 - 5.37.11, 5.38.0, 5.39.0 - 5.39.4
External links
https://github.com/Perl/perl5/blob/79a7b254d85a10b65126ad99bf10e70480569d68/sv.c#L16336-L16345
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.