Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48738?format=api",
    "vulnerability_id": "VCID-691a-a1hc-ubdd",
    "summary": "Multiple vulnerabilities have been discovered in HashiCorp Vault, the worst of which could result in denial of service.",
    "aliases": [
        {
            "alias": "CVE-2021-45042"
        }
    ],
    "fixed_packages": [
        {
            "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"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-45042.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-45042.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45042",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62764",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62822",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62852",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62816",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62867",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62883",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62902",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62891",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62869",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6291",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62917",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62897",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62933",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62887",
                    "published_at": "2026-05-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-45042"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2034914",
            "reference_id": "2034914",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2034914"
        }
    ],
    "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.9 - 4.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-691a-a1hc-ubdd"
}