Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53295?format=api",
    "purl": "pkg:composer/simplesamlphp/saml2@2.3.3",
    "type": "composer",
    "namespace": "simplesamlphp",
    "name": "saml2",
    "version": "2.3.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.5",
    "latest_non_vulnerable_version": "3.1.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "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.",
            "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"
                }
            ],
            "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"
                }
            ],
            "aliases": [
                "CVE-2016-9814"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zemd-kbb3-s3cr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@2.3.3"
}