Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/975157?format=api",
    "purl": "pkg:apk/alpine/cpio@2.13-r2?arch=armhf&distroversion=v3.21&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "cpio",
    "version": "2.13-r2",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.21",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61515?format=api",
            "vulnerability_id": "VCID-99j7-3sya-n3bx",
            "summary": "A vulnerability has been discovered in cpio, which can lead to arbitrary code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38185.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38185.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-38185",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96304",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96359",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96312",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96319",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96324",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96332",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96336",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9634",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96339",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96342",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96351",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96355",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96357",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.26706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96358",
                            "published_at": "2026-04-24T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-38185"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38185",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38185"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1991731",
                    "reference_id": "1991731",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1991731"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992045",
                    "reference_id": "992045",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992045"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2262",
                    "reference_id": "AVG-2262",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2262"
                },
                {
                    "reference_url": "https://github.com/fangqyi/cpiopwn",
                    "reference_id": "cpiopwn",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-09T15:10:43Z/"
                        }
                    ],
                    "url": "https://github.com/fangqyi/cpiopwn"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202407-07",
                    "reference_id": "GLSA-202407-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202407-07"
                },
                {
                    "reference_url": "https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b",
                    "reference_id": "?id=dd96882877721703e19272fe25034560b794061b",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-09T15:10:43Z/"
                        }
                    ],
                    "url": "https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b"
                },
                {
                    "reference_url": "https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00000.html",
                    "reference_id": "msg00000.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-09T15:10:43Z/"
                        }
                    ],
                    "url": "https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00000.html"
                },
                {
                    "reference_url": "https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00002.html",
                    "reference_id": "msg00002.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-09T15:10:43Z/"
                        }
                    ],
                    "url": "https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00002.html"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html",
                    "reference_id": "msg00007.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-09T15:10:43Z/"
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:1991",
                    "reference_id": "RHSA-2022:1991",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:1991"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5064-1/",
                    "reference_id": "USN-5064-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5064-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5064-2/",
                    "reference_id": "USN-5064-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5064-2/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5064-3/",
                    "reference_id": "USN-5064-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5064-3/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/975157?format=api",
                    "purl": "pkg:apk/alpine/cpio@2.13-r2?arch=armhf&distroversion=v3.21&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cpio@2.13-r2%3Farch=armhf&distroversion=v3.21&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-38185"
            ],
            "risk_score": 3.5,
            "exploitability": "0.5",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-99j7-3sya-n3bx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cpio@2.13-r2%3Farch=armhf&distroversion=v3.21&reponame=community"
}