Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42446?format=api",
    "vulnerability_id": "VCID-ksbw-sphn-kfd9",
    "summary": "Open Redirect in pollbot\nThere was an open redirection vulnerability in the path of https://pollbot.services.mozilla.com/ and https://pollbot.stage.mozaws.net/. Attackers can serve malicious websites that steal passwords or download ransomware to their victims machine due to a redirect and there are a heap of other attack vectors.",
    "aliases": [
        {
            "alias": "CVE-2022-0637"
        },
        {
            "alias": "GHSA-vg27-hr3v-3cqv"
        },
        {
            "alias": "GMS-2022-78"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60708?format=api",
            "purl": "pkg:pypi/pollbot@1.4.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pollbot@1.4.6"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/advisories/GHSA-vg27-hr3v-3cqv",
            "reference_id": "GHSA-vg27-hr3v-3cqv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vg27-hr3v-3cqv"
        },
        {
            "reference_url": "https://github.com/mozilla/PollBot/security/advisories/GHSA-vg27-hr3v-3cqv",
            "reference_id": "GHSA-vg27-hr3v-3cqv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/mozilla/PollBot/security/advisories/GHSA-vg27-hr3v-3cqv"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ksbw-sphn-kfd9"
}