Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48535?format=api",
    "vulnerability_id": "VCID-pgjv-k7e2-9qde",
    "summary": "Improper Authorization in github.com/containers/libpod\nA flaw was found in podman before 1.7.0. File permissions for non-root users running in a privileged container are not correctly checked. This flaw can be abused by a low-privileged user inside the container to access any other file in the container, even if owned by the root user inside the container. It does not allow to directly escape the container, though being a privileged container means that a lot of security features are disabled when running the container. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.",
    "aliases": [
        {
            "alias": "CVE-2021-20188"
        },
        {
            "alias": "GHSA-9h63-7qf6-mv6r"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928280?format=api",
            "purl": "pkg:deb/debian/libpod@2.0.2%2Bdfsg1-3?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpod@2.0.2%252Bdfsg1-3%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928276?format=api",
            "purl": "pkg:deb/debian/libpod@3.0.1%2Bdfsg1-3%2Bdeb11u5?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpod@3.0.1%252Bdfsg1-3%252Bdeb11u5%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/928274?format=api",
            "purl": "pkg:deb/debian/libpod@4.3.1%2Bds1-8%2Bdeb12u1?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libpod@4.3.1%252Bds1-8%252Bdeb12u1%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77542?format=api",
            "purl": "pkg:golang/github.com/containers/libpod@1.7.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/containers/libpod@1.7.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101037?format=api",
            "purl": "pkg:rpm/redhat/podman@1.6.4-29?arch=el7_9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pgjv-k7e2-9qde"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/podman@1.6.4-29%3Farch=el7_9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20188.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20188.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20188",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24508",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24765",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24778",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24737",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2468",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24693",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24685",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24664",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24608",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24596",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24553",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24431",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24761",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24837",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24876",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2465",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00085",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24718",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20188"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1915734",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1915734"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20188",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20188"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/containers/podman/commit/2c7b579fe7328dc6db48bdaf60d0ddd9136b1e24",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/containers/podman/commit/2c7b579fe7328dc6db48bdaf60d0ddd9136b1e24"
        },
        {
            "reference_url": "https://github.com/containers/podman/commit/c8bd4746151e6ae37d49c4688f2f64e03db429fc",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/containers/podman/commit/c8bd4746151e6ae37d49c4688f2f64e03db429fc"
        },
        {
            "reference_url": "https://github.com/containers/podman/commit/dcf3c742b1ac4d641d66810113f3d17441a412f4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/containers/podman/commit/dcf3c742b1ac4d641d66810113f3d17441a412f4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20188",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20188"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2020:3053",
            "reference_id": "RHSA-2020:3053",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2020:3053"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0681",
            "reference_id": "RHSA-2021:0681",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0681"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0705",
            "reference_id": "RHSA-2021:0705",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0705"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0706",
            "reference_id": "RHSA-2021:0706",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0706"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0710",
            "reference_id": "RHSA-2021:0710",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0710"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 863,
            "name": "Incorrect Authorization",
            "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pgjv-k7e2-9qde"
}