Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/8034?format=api",
    "purl": "pkg:pypi/ajenti@0.99.35",
    "type": "pypi",
    "namespace": "",
    "name": "ajenti",
    "version": "0.99.35",
    "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34870?format=api",
            "vulnerability_id": "VCID-wfej-2cmn-ufap",
            "summary": "Cross-site scripting (XSS) vulnerability in plugins/main/content/js/ajenti.coffee in Eugene Pankov Ajenti 1.2.13 allows remote authenticated users to inject arbitrary web script or HTML via the command field in the Cron functionality.",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/124804/Ajenti-1.2.13-Cross-Site-Scripting.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/124804/Ajenti-1.2.13-Cross-Site-Scripting.html"
                },
                {
                    "reference_url": "https://github.com/Eugeny/ajenti/commit/3270fd1d78391bb847b4c9ce37cf921f485b1310",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Eugeny/ajenti/commit/3270fd1d78391bb847b4c9ce37cf921f485b1310"
                },
                {
                    "reference_url": "https://github.com/Eugeny/ajenti/issues/233",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Eugeny/ajenti/issues/233"
                },
                {
                    "reference_url": "http://www.osvdb.org/102174",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.osvdb.org/102174"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/64982",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/64982"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/8076?format=api",
                    "purl": "pkg:pypi/ajenti@1.2.14",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-52g7-6zsa-dubc"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ajenti@1.2.14"
                }
            ],
            "aliases": [
                "CVE-2014-2260",
                "PYSEC-2014-98"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wfej-2cmn-ufap"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ajenti@0.99.35"
}