Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/143797?format=api",
    "purl": "pkg:maven/io.fabric8/kubernetes-client@4.12.0",
    "type": "maven",
    "namespace": "io.fabric8",
    "name": "kubernetes-client",
    "version": "4.12.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.13.2",
    "latest_non_vulnerable_version": "5.11.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54491?format=api",
            "vulnerability_id": "VCID-y4mj-2jec-j3gg",
            "summary": "Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client\nA flaw was found in the fabric8 kubernetes-client in version 4.2.0 and after. This flaw allows a malicious pod/container to cause applications using the fabric8 kubernetes-client `copy` command to extract files outside the working path. The highest threat from this vulnerability is to integrity and system availability. This has been fixed in kubernetes-client-4.13.2 kubernetes-client-5.0.2 kubernetes-client-4.11.2 kubernetes-client-4.7.2",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20218.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20218.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20218",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69391",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69276",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69315",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69324",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69356",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69364",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69369",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69348",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69214",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69229",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69249",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69231",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69281",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69299",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69321",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00594",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69305",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20218"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1923405",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1923405"
                },
                {
                    "reference_url": "https://github.com/fabric8io/kubernetes-client/issues/2715",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/fabric8io/kubernetes-client/issues/2715"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20218",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20218"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jwh2-ffg4-48xc",
                    "reference_id": "GHSA-jwh2-ffg4-48xc",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-jwh2-ffg4-48xc"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:0986",
                    "reference_id": "RHSA-2021:0986",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:0986"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1004",
                    "reference_id": "RHSA-2021:1004",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1004"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1006",
                    "reference_id": "RHSA-2021:1006",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1006"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:3205",
                    "reference_id": "RHSA-2021:3205",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:3205"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:3207",
                    "reference_id": "RHSA-2021:3207",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:3207"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:5134",
                    "reference_id": "RHSA-2021:5134",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:5134"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:0296",
                    "reference_id": "RHSA-2022:0296",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:0296"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:0297",
                    "reference_id": "RHSA-2022:0297",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:0297"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81764?format=api",
                    "purl": "pkg:maven/io.fabric8/kubernetes-client@4.13.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.fabric8/kubernetes-client@4.13.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81765?format=api",
                    "purl": "pkg:maven/io.fabric8/kubernetes-client@5.0.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-wj5y-g7z1-9qam"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.fabric8/kubernetes-client@5.0.2"
                }
            ],
            "aliases": [
                "CVE-2021-20218",
                "GHSA-jwh2-ffg4-48xc"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y4mj-2jec-j3gg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/io.fabric8/kubernetes-client@4.12.0"
}