Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/122015?format=api",
    "purl": "pkg:deb/debian/patch@2.7.1-7?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "patch",
    "version": "2.7.1-7",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.7.3-1",
    "latest_non_vulnerable_version": "2.8-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/97573?format=api",
            "vulnerability_id": "VCID-qp3r-313a-juev",
            "summary": "GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1196.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1196.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1196",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00853",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75278",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00853",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75308",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00853",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75311",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00853",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75303",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00853",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75289",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1196"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1196",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1196"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1182154",
                    "reference_id": "1182154",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1182154"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227",
                    "reference_id": "775227",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775227"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2651-1/",
                    "reference_id": "USN-2651-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2651-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/122015?format=api",
                    "purl": "pkg:deb/debian/patch@2.7.1-7?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.1-7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/122014?format=api",
                    "purl": "pkg:deb/debian/patch@2.7.6-7?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.6-7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/122016?format=api",
                    "purl": "pkg:deb/debian/patch@2.8-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.8-2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2015-1196"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qp3r-313a-juev"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/97572?format=api",
            "vulnerability_id": "VCID-uqw2-mt6f-quc1",
            "summary": "GNU patch 2.7.2 and earlier allows remote attackers to cause a denial of service (memory consumption and segmentation fault) via a crafted diff file.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-9637.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-9637.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2014-9637",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00319",
                            "scoring_system": "epss",
                            "scoring_elements": "0.55292",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00362",
                            "scoring_system": "epss",
                            "scoring_elements": "0.58627",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00362",
                            "scoring_system": "epss",
                            "scoring_elements": "0.58634",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00362",
                            "scoring_system": "epss",
                            "scoring_elements": "0.58612",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2014-9637"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9637",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9637"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1185262",
                    "reference_id": "1185262",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1185262"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2651-1/",
                    "reference_id": "USN-2651-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2651-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/122015?format=api",
                    "purl": "pkg:deb/debian/patch@2.7.1-7?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.1-7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/122014?format=api",
                    "purl": "pkg:deb/debian/patch@2.7.6-7?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.6-7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/122016?format=api",
                    "purl": "pkg:deb/debian/patch@2.8-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.8-2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2014-9637"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uqw2-mt6f-quc1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.1-7%3Fdistro=trixie"
}