Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36624?format=api",
    "vulnerability_id": "VCID-4795-vxdy-w7g3",
    "summary": "HashiCorp Vault Incorrect Permission Assignment for Critical Resource\nHashiCorp Vault and Vault Enterprise 0.11.0 up to 1.7.5 and 1.8.4 templated ACL policies would always match the first-created entity alias if multiple entity aliases exist for a specified entity and mount combination, potentially resulting in incorrect policy enforcement. Fixed in Vault and Vault Enterprise 1.7.6, 1.8.5, and 1.9.0.",
    "aliases": [
        {
            "alias": "CVE-2021-43998"
        },
        {
            "alias": "GHSA-pfmw-vj74-ph8g"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373313?format=api",
            "purl": "pkg:alpm/archlinux/vault@1.9.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/vault@1.9.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77620?format=api",
            "purl": "pkg:ebuild/app-admin/vault@1.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/app-admin/vault@1.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74529?format=api",
            "purl": "pkg:golang/github.com/hashicorp/vault@1.7.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/vault@1.7.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74530?format=api",
            "purl": "pkg:golang/github.com/hashicorp/vault@1.8.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/vault@1.8.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373312?format=api",
            "purl": "pkg:alpm/archlinux/vault@1.7.3-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4795-vxdy-w7g3"
                },
                {
                    "vulnerability": "VCID-bfm3-2zvj-5bca"
                },
                {
                    "vulnerability": "VCID-rk2n-tuu9-fbdc"
                },
                {
                    "vulnerability": "VCID-xerz-1x1v-uuap"
                },
                {
                    "vulnerability": "VCID-xk9c-q66v-3kcx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/vault@1.7.3-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-43998.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-43998.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43998",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00263",
                    "scoring_system": "epss",
                    "scoring_elements": "0.49735",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51471",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51509",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51462",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51469",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5143",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51374",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51423",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51468",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51427",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51455",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51382",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51433",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5146",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51419",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51473",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51514",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51493",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5148",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51523",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00281",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51531",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43998"
        },
        {
            "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.hashicorp.com/t/hcsec-2021-30-vaults-templated-acl-policies-matched-first-created-alias-per-entity-and-auth-backend/32132"
        },
        {
            "reference_url": "https://github.com/hashicorp/vault",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/vault"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43998",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43998"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202207-01",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.gentoo.org/glsa/202207-01"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028193",
            "reference_id": "2028193",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028193"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2294",
            "reference_id": "AVG-2294",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2294"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:2138",
            "reference_id": "RHSA-2023:2138",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:2138"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:3742",
            "reference_id": "RHSA-2023:3742",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:3742"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 732,
            "name": "Incorrect Permission Assignment for Critical Resource",
            "description": "The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4795-vxdy-w7g3"
}