Stack-based buffer overflow in Perl - CVE-2022-48522
Published: November 27, 2023
Vulnerability details
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.
Affected software
Ubuntu
openEuler
perl (Ubuntu package)
perl
perl-debugsource
perl-debuginfo
perl-devel
perl-libs
perl-help
Juniper Cloud Native Router
Junos cRPD
How to mitigate CVE-2022-48522
perl (Ubuntu package) - addressed in versions 5.30.0-9ubuntu0.5, 5.34.0-3ubuntu1.3, 5.36.0-7ubuntu0.23.04.2, 5.36.0-9ubuntu1.1
perl - update to 5.34.0-9
perl-debugsource - update to 5.34.0-9
perl-debuginfo - update to 5.34.0-9
perl-devel - update to 5.34.0-9
perl-libs - update to 5.34.0-9
perl-help - update to 5.34.0-9
Juniper Cloud Native Router - update to 23.4R1
Junos cRPD - update to 23.4R1