CVE-2018-20482
MEDIUM4.7EPSS 0.02%tar - security update
Published: 12/26/2018Modified: 4/28/2026
Description
GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).
Affected packages (4)
- Alpine/tarfrom 0, < 1.31-r0
- Debian/tarfrom 0, < 1.30+dfsg-3.1
- Debian/tarfrom 0, < 1.27.1-2+deb8u2
- Debian/tarfrom 0, < 1.29b-1.1+deb9u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |