Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52645?format=api",
    "purl": "pkg:composer/zendframework/zendframework1@1.12.18",
    "type": "composer",
    "namespace": "zendframework",
    "name": "zendframework1",
    "version": "1.12.18",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.12.19",
    "latest_non_vulnerable_version": "1.12.20",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38088?format=api",
            "vulnerability_id": "VCID-n2gy-93nd-gber",
            "summary": "Potential Insufficient Entropy Vulnerability in ZF1.",
            "references": [
                {
                    "reference_url": "https://framework.zend.com/security/advisory/ZF2016-01",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://framework.zend.com/security/advisory/ZF2016-01"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52645?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.12.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.18"
                }
            ],
            "aliases": [
                "ZF2016-01"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n2gy-93nd-gber"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38087?format=api",
            "vulnerability_id": "VCID-sjw9-2fwe-5ybg",
            "summary": "Potential Insufficient Entropy\nThere are several methods used to generate random numbers in ZF1 that potentially used insufficient entropy. Moreover, there's a potential security issue in the usage of the `openssl_random_pseudo_bytes()` function in `Zend_Crypt_Math::randBytes`, reported in PHP BUG #70014, and the security implications reported in a discussion on the `random_compat` library.",
            "references": [
                {
                    "reference_url": "http://framework.zend.com/security/advisory/ZF2016-01",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://framework.zend.com/security/advisory/ZF2016-01"
                },
                {
                    "reference_url": "https://bugs.php.net/bug.php?id=70014",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.php.net/bug.php?id=70014"
                },
                {
                    "reference_url": "https://github.com/paragonie/random_compat/issues/96",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/paragonie/random_compat/issues/96"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52645?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.12.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.18"
                }
            ],
            "aliases": [
                "ZF2016-11"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sjw9-2fwe-5ybg"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.18"
}