Name | CVE-2022-48303 |
Description | GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters. |
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 |
---|
tar (PTS) | jessie, jessie (lts) | 1.27.1-2+deb8u2 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.29b-1.1+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 1.30+dfsg-6+deb10u1 | vulnerable |
| bullseye | 1.34+dfsg-1+deb11u1 | fixed |
| bookworm | 1.34+dfsg-1.2+deb12u1 | fixed |
| sid, trixie | 1.35+dfsg-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
tar | source | bullseye | 1.34+dfsg-1+deb11u1 | | | |
tar | source | bookworm | 1.34+dfsg-1.2+deb12u1 | | | |
tar | source | (unstable) | 1.34+dfsg-1.4 | unimportant | | |
Notes
Crash in CLI tool, no security impact
https://savannah.gnu.org/bugs/?62387
https://savannah.gnu.org/patch/?10307
Fixed by: https://git.savannah.gnu.org/cgit/tar.git/commit/?id=3da78400eafcccb97e2f2fd4b227ea40d794ede8 (v1.35)