ghsa-7qw8-847f-pggm
Vulnerability from github
Published
2021-05-10 19:35
Modified
2023-02-14 17:41
Severity ?
Summary
Improper Locking in github.com/containers/storage
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).
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/containers/storage" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.28.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-20291" ], "database_specific": { "cwe_ids": [ "CWE-400", "CWE-667" ], "github_reviewed": true, "github_reviewed_at": "2021-05-04T19:15:55Z", "nvd_published_at": "2021-04-01T18:15:00Z", "severity": "MODERATE" }, "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).", "id": "GHSA-7qw8-847f-pggm", "modified": "2023-02-14T17:41:32Z", "published": "2021-05-10T19:35:07Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20291" }, { "type": "WEB", "url": "https://github.com/containers/storage/pull/860" }, { "type": "WEB", "url": "https://github.com/containers/storage/commit/306fcabc964470e4b3b87a43a8f6b7d698209ee1" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1939485" }, { "type": "PACKAGE", "url": "https://github.com/containers/storage" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5D7XL7FL24TWFMGQ3K2S72EOUSLZMKL" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPYOHNG2Q7DCAQZMGYLMENLKALGDLG3X" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WX24EITRXVHDM5M223BVTJA2ODF2FSHI" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNMB7O2UIXE34PGSCSOULGHPX5LIJBMM" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2021-0100" }, { "type": "WEB", "url": "https://unit42.paloaltonetworks.com/cve-2021-20291" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "type": "CVSS_V3" } ], "summary": "Improper Locking in github.com/containers/storage" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.