Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34518?format=api",
    "vulnerability_id": "VCID-xerz-1x1v-uuap",
    "summary": "Hashicorp Vault Privilege Escalation Vulnerability\nHashiCorp Vault and Vault Enterprise through 1.7.4 and 1.8.3 allowed a user with write permission to an entity alias ID sharing a mount accessor with another user to acquire this other user’s policies by merging their identities. Fixed in Vault and Vault Enterprise 1.7.5 and 1.8.4.",
    "aliases": [
        {
            "alias": "CVE-2021-41802"
        },
        {
            "alias": "GHSA-qv95-g3gm-x542"
        }
    ],
    "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/73773?format=api",
            "purl": "pkg:golang/github.com/hashicorp/vault@1.7.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/vault@1.7.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73774?format=api",
            "purl": "pkg:golang/github.com/hashicorp/vault@1.8.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/vault@1.8.4"
        }
    ],
    "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-41802.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41802.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41802",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00238",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46876",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48739",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48779",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48738",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48723",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48681",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48597",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48659",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48686",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48633",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48664",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48665",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48706",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48731",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48684",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48735",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48753",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48727",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00254",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48783",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41802"
        },
        {
            "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.hashicorp.com/t/hcsec-2021-27-vault-merging-multiple-entity-aliases-for-the-same-mount-may-allow-privilege-escalation"
        },
        {
            "reference_url": "https://github.com/hashicorp/vault",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/vault"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41802",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41802"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202207-01",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.gentoo.org/glsa/202207-01"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2015915",
            "reference_id": "2015915",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2015915"
        },
        {
            "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 269,
            "name": "Improper Privilege Management",
            "description": "The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor."
        },
        {
            "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": "0.1 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xerz-1x1v-uuap"
}