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

EcosystemPackageFixed inAdvisory
AlmaLinux:8tar2:1.30-6.el8_7.1ALSA-2023:0842
AlmaLinux:9tar2:1.34-6.el9_1ALSA-2023:0959
Alpine:v3.20tar1.34-r2ALPINE-CVE-2022-48303
Alpine:v3.21tar1.34-r2ALPINE-CVE-2022-48303
Alpine:v3.22tar1.34-r2ALPINE-CVE-2022-48303
Alpine:v3.23tar1.34-r2ALPINE-CVE-2022-48303
Alpine:v3.24tar1.34-r2ALPINE-CVE-2022-48303
Debian:12tar1.34+dfsg-1.2+deb12u1DEBIAN-CVE-2022-48303
Debian:13tar1.34+dfsg-1.4DEBIAN-CVE-2022-48303
Debian:14tar1.34+dfsg-1.4DEBIAN-CVE-2022-48303
Rocky Linux:8tar2:1.30-6.el8_7.1RLSA-2023:0842
Rocky Linux:9tar2:1.34-6.el9_1RLSA-2023:0959
Ubuntu:22.04:LTStar1.34+dfsg-1ubuntu0.1.22.04.1UBUNTU-CVE-2022-48303
Ubuntu:22.04:LTStar1.34+dfsg-1ubuntu0.1.22.04.1USN-5900-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References