UBUNTU-CVE-2021-20291

Source
https://ubuntu.com/security/CVE-2021-20291
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20291.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-20291
Related
Published
2021-04-01T18:15:00Z
Modified
2024-11-20T12:15:33Z
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

Ubuntu:20.04:LTS / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/ubuntu/golang-github-containers-storage?arch=src?distro=focal

Affected ranges

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

Affected versions

1.*

1.13.2+dfsg1-2
1.13.2+dfsg1-3
1.13.5+dfsg1-1
1.15.1+dfsg1-1
1.15.2+dfsg1-1
1.15.3+dfsg1-1
1.15.5+dfsg1-1
1.15.7+dfsg1-1
1.15.8+dfsg1-1
1.15.8+dfsg1-1ubuntu1
1.15.8+dfsg1-1ubuntu2
1.15.8+dfsg1-1ubuntu2.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/ubuntu/golang-github-containers-storage?arch=src?distro=jammy

Affected ranges

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

Affected versions

1.*

1.31.3+ds1-1ubuntu1
1.36.0+ds1-2
1.36.0+ds1-2ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/ubuntu/golang-github-containers-storage?arch=src?distro=oracular

Affected ranges

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

Affected versions

1.*

1.51.0+ds1-2
1.53.0+ds1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-containers-storage

Package

Name
golang-github-containers-storage
Purl
pkg:deb/ubuntu/golang-github-containers-storage?arch=src?distro=noble

Affected ranges

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

Affected versions

1.*

1.43.0+ds1-8build1
1.50.2+ds1-2
1.51.0+ds1-2
1.51.0+ds1-2ubuntu0.24.04.1
1.51.0+ds1-2ubuntu0.24.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}