Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63252?format=api",
    "purl": "pkg:npm/phpmyadmin@4.6.0",
    "type": "npm",
    "namespace": "",
    "name": "phpmyadmin",
    "version": "4.6.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38678?format=api",
            "vulnerability_id": "VCID-btc1-yng3-ckhx",
            "summary": "Improper Input Validation\nphpMyAdmin is vulnerable to a DoS attack in the replication status by using a specially crafted table name.",
            "references": [
                {
                    "reference_url": "https://web.archive.org/web/20210123220317/http://www.securityfocus.com/bid/95738",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20210123220317/http://www.securityfocus.com/bid/95738"
                },
                {
                    "reference_url": "https://www.phpmyadmin.net/security/PMASA-2017-7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.phpmyadmin.net/security/PMASA-2017-7"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95738",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/95738"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000018",
                    "reference_id": "CVE-2017-1000018",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000018"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-47qr-f86f-3wm4",
                    "reference_id": "GHSA-47qr-f86f-3wm4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-47qr-f86f-3wm4"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2017-1000018",
                "GHSA-47qr-f86f-3wm4"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-btc1-yng3-ckhx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/phpmyadmin@4.6.0"
}