Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59229?format=api",
    "purl": "pkg:maven/io.kubernetes/client-java@10.0.1",
    "type": "maven",
    "namespace": "io.kubernetes",
    "name": "client-java",
    "version": "10.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "11.0.1",
    "latest_non_vulnerable_version": "11.0.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41549?format=api",
            "vulnerability_id": "VCID-6mpy-82ss-ubbg",
            "summary": "Improper Input Validation\nLoading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.",
            "references": [
                {
                    "reference_url": "https://github.com/kubernetes-client/java/issues/1698",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/kubernetes-client/java/issues/1698"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25738",
                    "reference_id": "CVE-2021-25738",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25738"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59231?format=api",
                    "purl": "pkg:maven/io.kubernetes/client-java@11.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.kubernetes/client-java@11.0.1"
                }
            ],
            "aliases": [
                "CVE-2021-25738"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6mpy-82ss-ubbg"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53976?format=api",
            "vulnerability_id": "VCID-53j4-wdua-y7dv",
            "summary": "Path Traversal\nKubernetes Java client libraries allow writes to paths outside of the current directory when copying multiple files from a remote pod which sends a maliciously crafted archive. This can potentially overwrite any files on the system of the process executing the client code.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8570",
                    "reference_id": "CVE-2020-8570",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8570"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59227?format=api",
                    "purl": "pkg:maven/io.kubernetes/client-java@9.0.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6mpy-82ss-ubbg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.kubernetes/client-java@9.0.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59229?format=api",
                    "purl": "pkg:maven/io.kubernetes/client-java@10.0.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6mpy-82ss-ubbg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.kubernetes/client-java@10.0.1"
                }
            ],
            "aliases": [
                "CVE-2020-8570"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-53j4-wdua-y7dv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.kubernetes/client-java@10.0.1"
}