Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51915?format=api",
    "purl": "pkg:composer/symfony/framework-bundle@2.0.0",
    "type": "composer",
    "namespace": "symfony",
    "name": "framework-bundle",
    "version": "2.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.4.8",
    "latest_non_vulnerable_version": "6.0.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37724?format=api",
            "vulnerability_id": "VCID-2kf8-ugvv-tbb8",
            "summary": "Code Injection\nCode injection in the way Symfony implements translation caching in FrameworkBundle.",
            "references": [
                {
                    "reference_url": "https://symfony.com/blog/security-releases-cve-2014-4931-symfony-2-3-18-2-4-8-and-2-5-2-released",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/blog/security-releases-cve-2014-4931-symfony-2-3-18-2-4-8-and-2-5-2-released"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51917?format=api",
                    "purl": "pkg:composer/symfony/framework-bundle@2.4.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/framework-bundle@2.4.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51918?format=api",
                    "purl": "pkg:composer/symfony/framework-bundle@2.5.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/framework-bundle@2.5.2"
                }
            ],
            "aliases": [
                "CVE-2014-4931"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2kf8-ugvv-tbb8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/framework-bundle@2.0.0"
}