Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/122017?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/122017?format=api", "purl": "pkg:deb/debian/patch@2.7.3-1?distro=trixie", "type": "deb", "namespace": "debian", "name": "patch", "version": "2.7.3-1", "qualifiers": { "distro": "trixie" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.7.6-1", "latest_non_vulnerable_version": "2.8-2", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/97575?format=api", "vulnerability_id": "VCID-1pm2-zhtr-yqda", "summary": "A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary files via a symlink attack in a patch file. NOTE: this issue exists because of an incomplete fix for CVE-2015-1196.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1396.json", "reference_id": "", "reference_type": "", "scores": [], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1396.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1396", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.03663", "scoring_system": "epss", "scoring_elements": "0.88096", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.03663", "scoring_system": "epss", "scoring_elements": "0.88117", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.03663", "scoring_system": "epss", "scoring_elements": "0.8812", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.03663", "scoring_system": "epss", "scoring_elements": "0.88119", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1396" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1396", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1396" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1186764", "reference_id": "1186764", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1186764" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775901", "reference_id": "775901", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775901" }, { "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/122017?format=api", "purl": "pkg:deb/debian/patch@2.7.3-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.3-1%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-1396" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1pm2-zhtr-yqda" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/97574?format=api", "vulnerability_id": "VCID-8q8b-ycpu-e3ea", "summary": "Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1395.json", "reference_id": "", "reference_type": "", "scores": [], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1395.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1395", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.04141", "scoring_system": "epss", "scoring_elements": "0.88847", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.04141", "scoring_system": "epss", "scoring_elements": "0.88864", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.04141", "scoring_system": "epss", "scoring_elements": "0.88862", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1395" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1395", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1395" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1184490", "reference_id": "1184490", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1184490" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873", "reference_id": "775873", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873" }, { "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/122017?format=api", "purl": "pkg:deb/debian/patch@2.7.3-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.3-1%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-1395" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8q8b-ycpu-e3ea" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.3-1%3Fdistro=trixie" }