Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/10417?format=api",
    "purl": "pkg:pypi/dulwich@0.16.0",
    "type": "pypi",
    "namespace": "",
    "name": "dulwich",
    "version": "0.16.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.18.5",
    "latest_non_vulnerable_version": "0.18.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35136?format=api",
            "vulnerability_id": "VCID-n1wx-72v3-17cr",
            "summary": "Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.",
            "references": [
                {
                    "reference_url": "https://github.com/jelmer/dulwich",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jelmer/dulwich"
                },
                {
                    "reference_url": "https://github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml"
                },
                {
                    "reference_url": "https://tracker.debian.org/news/882440",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://tracker.debian.org/news/882440"
                },
                {
                    "reference_url": "https://web.archive.org/web/20201220231743/https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20201220231743/https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6"
                },
                {
                    "reference_url": "https://web.archive.org/web/20210128154006/https://www.dulwich.io/code/dulwich",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20210128154006/https://www.dulwich.io/code/dulwich"
                },
                {
                    "reference_url": "https://www.dulwich.io/code/dulwich",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.dulwich.io/code/dulwich"
                },
                {
                    "reference_url": "https://www.dulwich.io/code/dulwich/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.dulwich.io/code/dulwich/"
                },
                {
                    "reference_url": "https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6"
                },
                {
                    "reference_url": "https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16228",
                    "reference_id": "CVE-2017-16228",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16228"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cwwh-4382-6fwr",
                    "reference_id": "GHSA-cwwh-4382-6fwr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-cwwh-4382-6fwr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10429?format=api",
                    "purl": "pkg:pypi/dulwich@0.18.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dulwich@0.18.5"
                }
            ],
            "aliases": [
                "CVE-2017-16228",
                "GHSA-cwwh-4382-6fwr",
                "PYSEC-2017-12"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n1wx-72v3-17cr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dulwich@0.16.0"
}