Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40543?format=api",
    "vulnerability_id": "VCID-fxvv-9aj6-pkf9",
    "summary": "Insufficiently Protected Credentials\nCredentials exposure in session storage.",
    "aliases": [
        {
            "alias": "GMS-2018-78"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57204?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.16.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.16.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57203?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fxvv-9aj6-pkf9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.16.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://simplesamlphp.org/security/201812-01",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://simplesamlphp.org/security/201812-01"
        }
    ],
    "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-fxvv-9aj6-pkf9"
}