Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/585307?format=api",
    "purl": "pkg:deb/debian/cpio@2.11%2Bdfsg-4.1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "cpio",
    "version": "2.11+dfsg-4.1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.11+dfsg-5",
    "latest_non_vulnerable_version": "2.15+dfsg-2.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51212?format=api",
            "vulnerability_id": "VCID-tyqd-yqrc-bygr",
            "summary": "Two vulnerabilities have been found in GNU cpio, the worst of which\n    could result in execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1197.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1197.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1197",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87383",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87246",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87262",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87259",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87278",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87286",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87299",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87293",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87289",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87303",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87308",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87302",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87375",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87369",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87236",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.03332",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87356",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.03421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87482",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.03421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87489",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.03421",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87502",
                            "published_at": "2026-05-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1197"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1197",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1197"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1179773",
                    "reference_id": "1179773",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1179773"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774669",
                    "reference_id": "774669",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774669"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201502-11",
                    "reference_id": "GLSA-201502-11",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201502-11"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2906-1/",
                    "reference_id": "USN-2906-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2906-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/585307?format=api",
                    "purl": "pkg:deb/debian/cpio@2.11%2Bdfsg-4.1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.11%252Bdfsg-4.1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583610?format=api",
                    "purl": "pkg:deb/debian/cpio@2.13%2Bdfsg-7.1~deb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cguy-5d2j-6yed"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.13%252Bdfsg-7.1~deb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583611?format=api",
                    "purl": "pkg:deb/debian/cpio@2.13%2Bdfsg-7.1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cguy-5d2j-6yed"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.13%252Bdfsg-7.1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583612?format=api",
                    "purl": "pkg:deb/debian/cpio@2.15%2Bdfsg-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.15%252Bdfsg-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583613?format=api",
                    "purl": "pkg:deb/debian/cpio@2.15%2Bdfsg-2.1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.15%252Bdfsg-2.1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2015-1197"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tyqd-yqrc-bygr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.11%252Bdfsg-4.1%3Fdistro=trixie"
}