Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/148030?format=api",
    "purl": "pkg:composer/symfony/translation@2.0.18",
    "type": "composer",
    "namespace": "symfony",
    "name": "translation",
    "version": "2.0.18",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6745?format=api",
            "vulnerability_id": "VCID-unuf-vj1b-qbhr",
            "summary": "Improper Restriction of XML External Entity Reference\nSecurity fixes related to the way XML is handled in symfony.",
            "references": [
                {
                    "reference_url": "https://symfony.com/blog/security-release-symfony-2-0-17-released",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/blog/security-release-symfony-2-0-17-released"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/20096?format=api",
                    "purl": "pkg:composer/symfony/translation@2.0.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/translation@2.0.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/148030?format=api",
                    "purl": "pkg:composer/symfony/translation@2.0.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/translation@2.0.18"
                }
            ],
            "aliases": [
                "2012-08-28"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-unuf-vj1b-qbhr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/translation@2.0.18"
}