Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57043?format=api",
    "purl": "pkg:composer/ezsystems/repository-forms@2.3.2%2B1",
    "type": "composer",
    "namespace": "ezsystems",
    "name": "repository-forms",
    "version": "2.3.2+1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.2+1",
    "latest_non_vulnerable_version": "2.3.2+1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40461?format=api",
            "vulnerability_id": "VCID-z2cq-sqav-4ybd",
            "summary": "Information Disclosure\nUser data disclosure in repository-forms.",
            "references": [
                {
                    "reference_url": "http://share.ez.no/community-project/security-advisories/ezsa-2018-007-user-data-disclosure",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://share.ez.no/community-project/security-advisories/ezsa-2018-007-user-data-disclosure"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57043?format=api",
                    "purl": "pkg:composer/ezsystems/repository-forms@2.3.2%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/repository-forms@2.3.2%252B1"
                }
            ],
            "aliases": [
                "GMS-2018-68"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z2cq-sqav-4ybd"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ezsystems/repository-forms@2.3.2%252B1"
}