Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41791?format=api",
    "vulnerability_id": "VCID-6jnb-hve3-uqhn",
    "summary": "showdoc is vulnerable to Cross-Site Request Forgery (CSRF)",
    "aliases": [
        {
            "alias": "CVE-2021-3993"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59685?format=api",
            "purl": "pkg:composer/showdoc/showdoc@2.9.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/showdoc/showdoc@2.9.13"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/star7th/showdoc/commit/654e871a3923e79076818a9a03533fe88222c871",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/star7th/showdoc/commit/654e871a3923e79076818a9a03533fe88222c871"
        },
        {
            "reference_url": "https://huntr.dev/bounties/0aa84736-139b-4ae7-becf-604f7f60b1c9",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.dev/bounties/0aa84736-139b-4ae7-becf-604f7f60b1c9"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3993",
            "reference_id": "CVE-2021-3993",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3993"
        }
    ],
    "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": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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-6jnb-hve3-uqhn"
}