Vulnerability · Published Jan 30, 2023 · Assigned by mitre
CVE-2022-48303
Medium 5.5
In plain English
A medium-severity out-of-bounds read in the tar package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)1.5%top 25.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | tar | 2:1.30-6.el8_7.1 | ALSA-2023:0842 |
| AlmaLinux:9 | tar | 2:1.34-6.el9_1 | ALSA-2023:0959 |
| Alpine:v3.20 | tar | 1.34-r2 | ALPINE-CVE-2022-48303 |
| Alpine:v3.21 | tar | 1.34-r2 | ALPINE-CVE-2022-48303 |
| Alpine:v3.22 | tar | 1.34-r2 | ALPINE-CVE-2022-48303 |
| Alpine:v3.23 | tar | 1.34-r2 | ALPINE-CVE-2022-48303 |
| Alpine:v3.24 | tar | 1.34-r2 | ALPINE-CVE-2022-48303 |
| Debian:12 | tar | 1.34+dfsg-1.2+deb12u1 | DEBIAN-CVE-2022-48303 |
| Debian:13 | tar | 1.34+dfsg-1.4 | DEBIAN-CVE-2022-48303 |
| Debian:14 | tar | 1.34+dfsg-1.4 | DEBIAN-CVE-2022-48303 |
| Rocky Linux:8 | tar | 2:1.30-6.el8_7.1 | RLSA-2023:0842 |
| Rocky Linux:9 | tar | 2:1.34-6.el9_1 | RLSA-2023:0959 |
| Ubuntu:22.04:LTS | tar | 1.34+dfsg-1ubuntu0.1.22.04.1 | UBUNTU-CVE-2022-48303 |
| Ubuntu:22.04:LTS | tar | 1.34+dfsg-1ubuntu0.1.22.04.1 | USN-5900-1 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H