4.7med
CVE-2018-20482
GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of se…
Published 7 y ago · modified 24 d ago · JSON
CVSS
4.7
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.5%
percentile 45%
Public exploits
0
none known
Summary
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).
Exploit prediction (EPSS)
0.53% probability of exploitation in the next 30 days, higher than 45% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 1.9 | AV:L/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
- CWE-835 Loop with Unreachable Exit Condition
References
- utcc.utoronto.ca /~cks/space/blog/sysadmin/TarFindingTruncateBug · x_refsource_MISC, x_transferred
- git.savannah.gnu.org /cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 · x_refsource_MISC, x_transferred
- lists.debian.org /debian-lts-announce/2018/12/msg00023.html · mailing-list, x_refsource_MLIST, x_transferred
- news.ycombinator.com /item?id=18745431 · x_refsource_MISC, x_transferred
- securityfocus.com /bid/106354 · vdb-entry, x_refsource_BID, x_transferred
- security.gentoo.org /glsa/201903-05 · vendor-advisory, x_refsource_GENTOO, x_transferred
- lists.gnu.org /archive/html/bug-tar/2018-12/msg00023.html · x_refsource_MISC, x_transferred
- twitter.com /thatcks/status/1076166645708668928 · x_refsource_MISC, x_transferred
- lists.opensuse.org /opensuse-security-announce/2019-04/msg00077.html · vendor-advisory, x_refsource_SUSE, x_transferred
- lists.debian.org /debian-lts-announce/2021/11/msg00025.html · mailing-list, x_refsource_MLIST, x_transferred
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List: CVE-2018-20482
- NVD: CVE-2018-20482
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.