Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55865?format=api",
    "purl": "pkg:composer/symfony/security-guard@3.0.0",
    "type": "composer",
    "namespace": "symfony",
    "name": "security-guard",
    "version": "3.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.4.11",
    "latest_non_vulnerable_version": "4.0.11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39963?format=api",
            "vulnerability_id": "VCID-vyug-krcw-jyef",
            "summary": "Session Fixation\nA session fixation vulnerability within the `Guard` login feature may allow an attacker to impersonate a victim towards the web application if the session id value was previously known to the attacker.",
            "references": [
                {
                    "reference_url": "https://symfony.com/cve-2018-11385",
                    "reference_id": "CVE-2018-11385",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2018-11385"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55868?format=api",
                    "purl": "pkg:composer/symfony/security-guard@3.4.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-guard@3.4.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55869?format=api",
                    "purl": "pkg:composer/symfony/security-guard@4.0.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-guard@4.0.11"
                }
            ],
            "aliases": [
                "CVE-2018-11385"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vyug-krcw-jyef"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-guard@3.0.0"
}