CVE-2022-48522

NameCVE-2022-48522
DescriptionIn Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to remote code execution or local privilege escalation.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
perl (PTS)jessie, jessie (lts)5.20.2-3+deb8u14fixed
stretch (security)5.24.1-3+deb9u5fixed
stretch (lts), stretch5.24.1-3+deb9u8fixed
buster, buster (lts)5.28.1-6+deb10u2fixed
bullseye5.32.1-4+deb11u3fixed
bullseye (security)5.32.1-4+deb11u4fixed
bookworm5.36.0-7+deb12u1fixed
sid, trixie5.40.0-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
perlsourcejessie(not affected)
perlsourcestretch(not affected)
perlsourcebuster(not affected)
perlsourcebullseye(not affected)
perlsource(unstable)5.36.0-4unimportant

Notes

[bullseye] - perl <not-affected> (Vulnerable code introduced later)
[buster] - perl <not-affected> (Vulnerable code introduced later)
Might be related to https://bugs.launchpad.net/ubuntu/+source/perl/+bug/2032667
which is just a infinite recursion exhausting the stack, with negligible security
impact.
https://github.com/Perl/perl5/issues/19147
Fixed by: https://github.com/Perl/perl5/commit/23cca2d1f4544cb47f1124d98c308ce1f31f09a6 (v5.35.5)
[stretch] - perl <not-affected> (Vulnerable code introduced later)
[jessie] - perl <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems