Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/8438?format=api",
    "purl": "pkg:pypi/ajenti@1.2.20.10",
    "type": "pypi",
    "namespace": "",
    "name": "ajenti",
    "version": "1.2.20.10",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.2.21.7",
    "latest_non_vulnerable_version": "1.2.21.7",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34889?format=api",
            "vulnerability_id": "VCID-52g7-6zsa-dubc",
            "summary": "Multiple cross-site scripting (XSS) vulnerabilities in the respond_error function in routing.py in Eugene Pankov Ajenti before 1.2.21.7 allow remote attackers to inject arbitrary web script or HTML via the PATH_INFO to (1) resources.js or (2) resources.css in ajenti:static/, related to the traceback page.",
            "references": [
                {
                    "reference_url": "http://secunia.com/advisories/59177",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/59177"
                },
                {
                    "reference_url": "https://github.com/Eugeny/ajenti/commit/d3fc5eb142ff16d55d158afb050af18d5ff09120",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Eugeny/ajenti/commit/d3fc5eb142ff16d55d158afb050af18d5ff09120"
                },
                {
                    "reference_url": "https://www.netsparker.com/critical-xss-vulnerabilities-in-ajenti",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.netsparker.com/critical-xss-vulnerabilities-in-ajenti"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/68047",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/68047"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8446?format=api",
                    "purl": "pkg:pypi/ajenti@1.2.21.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ajenti@1.2.21.7"
                }
            ],
            "aliases": [
                "CVE-2014-4301",
                "PYSEC-2014-99"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-52g7-6zsa-dubc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ajenti@1.2.20.10"
}