Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13977?format=api",
    "vulnerability_id": "VCID-9hkf-7f3e-cudc",
    "summary": "Cross-Site Request Forgery (CSRF)\nyourls is vulnerable to Improper Restriction of Rendered UI Layers or Frames",
    "aliases": [
        {
            "alias": "CVE-2021-3734"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57781?format=api",
            "purl": "pkg:composer/yourls/yourls@1.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9hkf-7f3e-cudc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yourls/yourls@1.8.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://huntr.dev/bounties/dd2e2dbe-efe5-49ec-be11-7a7e7c41debd",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.dev/bounties/dd2e2dbe-efe5-49ec-be11-7a7e7c41debd"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3734",
            "reference_id": "CVE-2021-3734",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3734"
        }
    ],
    "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-9hkf-7f3e-cudc"
}