Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/13114?format=api",
    "purl": "pkg:pypi/splunk-sdk@0.1.0",
    "type": "pypi",
    "namespace": "",
    "name": "splunk-sdk",
    "version": "0.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.6.6",
    "latest_non_vulnerable_version": "1.6.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35332?format=api",
            "vulnerability_id": "VCID-agtt-qra6-fudy",
            "summary": "Splunk-SDK-Python before 1.6.6 does not properly verify untrusted TLS server certificates, which could result in man-in-the-middle attacks.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-f58w-649r-qjr9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-f58w-649r-qjr9"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/splunk-sdk/PYSEC-2019-203.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/splunk-sdk/PYSEC-2019-203.yaml"
                },
                {
                    "reference_url": "https://github.com/splunk/splunk-sdk-python",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/splunk/splunk-sdk-python"
                },
                {
                    "reference_url": "https://www.splunk.com/view/SP-CAAAQAD",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.splunk.com/view/SP-CAAAQAD"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5729",
                    "reference_id": "CVE-2019-5729",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5729"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13132?format=api",
                    "purl": "pkg:pypi/splunk-sdk@1.6.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/splunk-sdk@1.6.6"
                }
            ],
            "aliases": [
                "CVE-2019-5729",
                "GHSA-f58w-649r-qjr9",
                "PYSEC-2019-203"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-agtt-qra6-fudy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/splunk-sdk@0.1.0"
}