Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38481?format=api",
    "vulnerability_id": "VCID-zemd-kbb3-s3cr",
    "summary": "Incorrect signature verification\nAn incorrect check of return values in the signature validation utilities allows an attacker to get invalid signatures accepted as valid by forcing an error during validation.",
    "aliases": [
        {
            "alias": "CVE-2016-9814"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53294?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@1.9.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@1.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53293?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@1.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@1.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53295?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@2.3.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@2.3.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53291?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@1.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zemd-kbb3-s3cr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@1.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53292?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ucwf-xdma-h7fc"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                },
                {
                    "vulnerability": "VCID-wbt9-snjj-uuea"
                },
                {
                    "vulnerability": "VCID-xx6m-pvgs-puga"
                },
                {
                    "vulnerability": "VCID-zemd-kbb3-s3cr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/simplesamlphp/saml2/commit/7008b0916426212c1cc2fc238b38ab9ebff0748c",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/simplesamlphp/saml2/commit/7008b0916426212c1cc2fc238b38ab9ebff0748c"
        },
        {
            "reference_url": "https://github.com/simplesamlphp/saml2/pull/81",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/simplesamlphp/saml2/pull/81"
        },
        {
            "reference_url": "https://simplesamlphp.org/security/201612-01",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://simplesamlphp.org/security/201612-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": 399,
            "name": "Resource Management Errors",
            "description": "Weaknesses in this category are related to improper management of system resources."
        },
        {
            "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-zemd-kbb3-s3cr"
}