Name | CVE-2022-48522 |
Description | In 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
perl (PTS) | jessie, jessie (lts) | 5.20.2-3+deb8u14 | fixed |
| stretch (security) | 5.24.1-3+deb9u5 | fixed |
| stretch (lts), stretch | 5.24.1-3+deb9u8 | fixed |
| buster, buster (lts) | 5.28.1-6+deb10u2 | fixed |
| bullseye | 5.32.1-4+deb11u3 | fixed |
| bullseye (security) | 5.32.1-4+deb11u4 | fixed |
| bookworm | 5.36.0-7+deb12u1 | fixed |
| sid, trixie | 5.40.0-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
perl | source | jessie | (not affected) | | | |
perl | source | stretch | (not affected) | | | |
perl | source | buster | (not affected) | | | |
perl | source | bullseye | (not affected) | | | |
perl | source | (unstable) | 5.36.0-4 | unimportant | | |
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)