4.7
MEDIUM
CVE-2018-20482
GNU Tar Sparse File Modification Denial of Service
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).

INFO

Published Date :

Dec. 26, 2018, 6:29 p.m.

Last Modified :

Nov. 30, 2021, 7:52 p.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2018-20482 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-20482 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Opensuse leap
1 Gnu tar
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-20482.

URL Resource
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 Patch Third Party Advisory
http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106354 Third Party Advisory VDB Entry
https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html Mailing List Third Party Advisory
https://news.ycombinator.com/item?id=18745431 Exploit Third Party Advisory
https://security.gentoo.org/glsa/201903-05 Third Party Advisory
https://twitter.com/thatcks/status/1076166645708668928 Patch Third Party Advisory
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 10 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

None

Updated: 2 years, 3 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 3, 2022, 7:11 p.m. This repo has been linked 61 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 3 years, 8 months ago
0 stars 1 fork 1 watcher
Born at : Feb. 25, 2021, 9:59 a.m. This repo has been linked 61 different CVEs too.

None

Dockerfile Makefile

Updated: 2 years, 3 months ago
1 stars 0 fork 0 watcher
Born at : Dec. 15, 2020, 7:02 p.m. This repo has been linked 61 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent

Updated: 5 months ago
2 stars 0 fork 0 watcher
Born at : Sept. 21, 2020, 7:37 a.m. This repo has been linked 61 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty

Updated: 4 years, 5 months ago
0 stars 0 fork 0 watcher
Born at : June 6, 2020, 2:22 a.m. This repo has been linked 54 different CVEs too.

A Simple and Comprehensive Vulnerability Scanner for Containers, Suitable for CI for Web

Python HTML CSS JavaScript

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Aug. 2, 2019, 8:26 a.m. This repo has been linked 51 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-20482 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-20482 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 30, 2021

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 28, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html [No Types Assigned]
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-125 CWE-125 CWE-835
  • Modified Analysis by [email protected]

    Apr. 26, 2019

    Action Type Old Value New Value
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 18, 2019

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 13, 2019

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/201903-05 No Types Assigned https://security.gentoo.org/glsa/201903-05 Third Party Advisory
  • CVE Modified by [email protected]

    Mar. 11, 2019

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201903-05 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 14, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:M/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html Mailing List, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/106354 No Types Assigned http://www.securityfocus.com/bid/106354 Third Party Advisory, VDB Entry
    Changed Reference Type https://news.ycombinator.com/item?id=18745431 No Types Assigned https://news.ycombinator.com/item?id=18745431 Exploit, Third Party Advisory
    Changed Reference Type http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html No Types Assigned http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html Third Party Advisory
    Changed Reference Type https://twitter.com/thatcks/status/1076166645708668928 No Types Assigned https://twitter.com/thatcks/status/1076166645708668928 Patch, Third Party Advisory
    Changed Reference Type https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug No Types Assigned https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug Patch, Third Party Advisory
    Changed Reference Type http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 No Types Assigned http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 Patch, Third Party Advisory
    Added CWE CWE-125
    Added CPE Configuration OR *cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:* versions up to (including) 1.30
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 03, 2019

    Action Type Old Value New Value
    Added Reference http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 01, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/106354 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 27, 2018

    Action Type Old Value New Value
    Added Reference http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-20482 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-20482 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability