Stack-based buffer overflow in Perl - CVE-2022-48522

 

Stack-based buffer overflow in Perl - CVE-2022-48522

Published: November 27, 2023


Vulnerability identifier: #VU83507
CSH Severity: High
CVSS v4.0: 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: Remote access
Exploit availability: No public exploit available
Vendor: Perl
Affected software:
Perl

Detailed vulnerability 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.


How to mitigate CVE-2022-48522

Install updates from vendor's website.

Sources