Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/46398?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46398?format=api",
    "vulnerability_id": "VCID-pqs8-s3dm-7ff2",
    "summary": "Improper Locking in github.com/containers/storage\nA 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).",
    "aliases": [
        {
            "alias": "CVE-2021-20291"
        },
        {
            "alias": "GHSA-7qw8-847f-pggm"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923914?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.34.1%2Bds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.34.1%252Bds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994535?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.43.0%2Bds1-8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zcxt-ccb2-eufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.43.0%252Bds1-8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923913?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.43.0%2Bds1-8?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zcxt-ccb2-eufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.43.0%252Bds1-8%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923916?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.57.2%2Bds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.57.2%252Bds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923915?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.62.0-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.62.0-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76753?format=api",
            "purl": "pkg:golang/github.com/containers/storage@1.28.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/containers/storage@1.28.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994534?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.24.8%2Bdfsg1-1%2Bdeb11u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                },
                {
                    "vulnerability": "VCID-zcxt-ccb2-eufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.24.8%252Bdfsg1-1%252Bdeb11u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923912?format=api",
            "purl": "pkg:deb/debian/golang-github-containers-storage@1.24.8%2Bdfsg1-1%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                },
                {
                    "vulnerability": "VCID-zcxt-ccb2-eufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-containers-storage@1.24.8%252Bdfsg1-1%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98004?format=api",
            "purl": "pkg:rpm/redhat/buildah@1:1.27.0-2?arch=el9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1n1h-e2p4-9yhs"
                },
                {
                    "vulnerability": "VCID-35du-rm88-k7bw"
                },
                {
                    "vulnerability": "VCID-5wtx-278c-nycq"
                },
                {
                    "vulnerability": "VCID-fa27-n4rs-h7gp"
                },
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                },
                {
                    "vulnerability": "VCID-ttsj-3bd1-tfhu"
                },
                {
                    "vulnerability": "VCID-z1ct-cecz-mqer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/buildah@1:1.27.0-2%3Farch=el9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100669?format=api",
            "purl": "pkg:rpm/redhat/cri-o@1.20.2-6.rhaos4.7.gitf1d5201?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/cri-o@1.20.2-6.rhaos4.7.gitf1d5201%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100670?format=api",
            "purl": "pkg:rpm/redhat/openshift@4.7.0-202104090228.p0.git.97111.77863f8?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openshift@4.7.0-202104090228.p0.git.97111.77863f8%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99246?format=api",
            "purl": "pkg:rpm/redhat/podman@2:4.2.0-3?arch=el9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1n1h-e2p4-9yhs"
                },
                {
                    "vulnerability": "VCID-83z3-5q22-wycr"
                },
                {
                    "vulnerability": "VCID-ayxa-s9j4-k7hd"
                },
                {
                    "vulnerability": "VCID-hvfd-h9rm-jkbw"
                },
                {
                    "vulnerability": "VCID-mzjw-b6mh-nugs"
                },
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                },
                {
                    "vulnerability": "VCID-r52s-2crw-tfbx"
                },
                {
                    "vulnerability": "VCID-z1ct-cecz-mqer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/podman@2:4.2.0-3%3Farch=el9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100668?format=api",
            "purl": "pkg:rpm/redhat/skopeo@2:1.9.2-1?arch=el9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5wtx-278c-nycq"
                },
                {
                    "vulnerability": "VCID-pqs8-s3dm-7ff2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/skopeo@2:1.9.2-1%3Farch=el9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20291.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20291.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20291",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77403",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77257",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77324",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77283",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77286",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77306",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77279",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7727",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77221",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77228",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77239",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77375",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77367",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77355",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77349",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77315",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.01026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77323",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20291"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1939485",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1939485"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20291",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20291"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/containers/storage",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/containers/storage"
        },
        {
            "reference_url": "https://github.com/containers/storage/commit/306fcabc964470e4b3b87a43a8f6b7d698209ee1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/containers/storage/commit/306fcabc964470e4b3b87a43a8f6b7d698209ee1"
        },
        {
            "reference_url": "https://github.com/containers/storage/pull/860",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/containers/storage/pull/860"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5D7XL7FL24TWFMGQ3K2S72EOUSLZMKL",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5D7XL7FL24TWFMGQ3K2S72EOUSLZMKL"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPYOHNG2Q7DCAQZMGYLMENLKALGDLG3X",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPYOHNG2Q7DCAQZMGYLMENLKALGDLG3X"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WX24EITRXVHDM5M223BVTJA2ODF2FSHI",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WX24EITRXVHDM5M223BVTJA2ODF2FSHI"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNMB7O2UIXE34PGSCSOULGHPX5LIJBMM",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNMB7O2UIXE34PGSCSOULGHPX5LIJBMM"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20291",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20291"
        },
        {
            "reference_url": "https://pkg.go.dev/vuln/GO-2021-0100",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://pkg.go.dev/vuln/GO-2021-0100"
        },
        {
            "reference_url": "https://unit42.paloaltonetworks.com/cve-2021-20291",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://unit42.paloaltonetworks.com/cve-2021-20291"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988942",
            "reference_id": "988942",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988942"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:1150",
            "reference_id": "RHSA-2021:1150",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:1150"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:2438",
            "reference_id": "RHSA-2021:2438",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:2438"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:4154",
            "reference_id": "RHSA-2021:4154",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:4154"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:7954",
            "reference_id": "RHSA-2022:7954",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:7954"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:7955",
            "reference_id": "RHSA-2022:7955",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:7955"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "cwe_id": 667,
            "name": "Improper Locking",
            "description": "The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pqs8-s3dm-7ff2"
}