CVE-2021-20291

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-20291
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-20291.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20291
Aliases
Related
Published
2021-04-01T18:15:12Z
Modified
2024-09-11T04:43:38.994376Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A deadlock vulnerability was found in 'github.com/containers/storage' in versions before 1.28.1. When a container image is processed, each layer is unpacked using tar. If one of those layers is not a valid tar archive this causes an error leading to an unexpected situation where the code indefinitely waits for the tar unpacked stream, which never finishes. An attacker could use this vulnerability to craft a malicious image, which when downloaded and stored by an application using containers/storage, would then cause a deadlock leading to a Denial of Service (DoS).

References

Affected packages

Debian:11 / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/debian/golang-github-containers-storage?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.24.8+dfsg1-1
1.24.8+dfsg1-1+deb11u1
1.25.0+dfsg1-1
1.28.1+ds1-1
1.29.0+ds1-1
1.31.3+ds1-1
1.34.1+ds1-1
1.36.0+ds1-1
1.36.0+ds1-2
1.36.0+ds1-3
1.37.0+ds1-1
1.37.1+ds1-1
1.37.2+ds1-1
1.38.2+ds1-1
1.41.0+ds1-1
1.42.0+ds1-1
1.43.0+ds1-1
1.43.0+ds1-2
1.43.0+ds1-3
1.43.0+ds1-4
1.43.0+ds1-5
1.43.0+ds1-6
1.43.0+ds1-7
1.43.0+ds1-8
1.44.0+ds1-1
1.45.1+ds1-1
1.45.1+ds1-2
1.46.1+ds1-1
1.46.1+ds1-2
1.46.1+ds1-3
1.46.1+ds1-4
1.48.1+ds1-1
1.48.1+ds1-2~bpo12+1
1.48.1+ds1-2
1.50.2+ds1-1
1.50.2+ds1-2
1.51.0+ds1-1
1.51.0+ds1-2
1.52.0+ds1-1
1.53.0+ds1-1
1.53.0+ds1-2
1.55.0+ds1-1
1.55.0+ds1-2
1.55.0+ds1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/debian/golang-github-containers-storage?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34.1+ds1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/debian/golang-github-containers-storage?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34.1+ds1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}