CVE-2018-20482

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-20482
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-20482.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-20482
Related
Published
2018-12-26T18:29:00Z
Modified
2024-09-11T04:24:05.702372Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 sparsedumpregion 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).

References

Affected packages

Alpine:v3.10 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.11 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.12 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.13 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.14 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.15 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.16 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.17 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.18 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.19 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.20 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Alpine:v3.6 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1

Alpine:v3.7 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1

Alpine:v3.8 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0

Alpine:v3.9 / tar

Package

Name
tar
Purl
pkg:apk/alpine/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31-r0

Affected versions

1.*

1.21-r0
1.22-r0
1.22-r1
1.23-r0
1.23-r1
1.24-r0
1.25-r0
1.26-r0
1.26-r1
1.27-r0
1.27.1-r0
1.28-r0
1.28-r1
1.29-r0
1.29-r1
1.30-r0
1.30-r1

Debian:11 / tar

Package

Name
tar
Purl
pkg:deb/debian/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.30+dfsg-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / tar

Package

Name
tar
Purl
pkg:deb/debian/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.30+dfsg-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / tar

Package

Name
tar
Purl
pkg:deb/debian/tar?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.30+dfsg-3.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}