Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/366935?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/366935?format=api", "purl": "pkg:rpm/redhat/samba@3.0.33-0.35?arch=el4", "type": "rpm", "namespace": "redhat", "name": "samba", "version": "3.0.33-0.35", "qualifiers": { "arch": "el4" }, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/176385?format=api", "vulnerability_id": "VCID-9u3y-zk3a-m7ad", "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n which may allow execution of arbitrary code with root privileges.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0870.json", "reference_id": "", "reference_type": "", "scores": [], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0870.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0870", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97743", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97752", "published_at": "2026-06-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0870" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0870", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0870" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=795509", "reference_id": "795509", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=795509" }, { "reference_url": "https://security.gentoo.org/glsa/201206-22", "reference_id": "GLSA-201206-22", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/201206-22" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2012:0332", "reference_id": "RHSA-2012:0332", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2012:0332" }, { "reference_url": "https://usn.ubuntu.com/1374-1/", "reference_id": "USN-1374-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/1374-1/" } ], "fixed_packages": [], "aliases": [ "CVE-2012-0870" ], "risk_score": 0.2, "exploitability": "0.5", "weighted_severity": "0.4", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9u3y-zk3a-m7ad" } ], "fixing_vulnerabilities": [], "risk_score": "0.2", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@3.0.33-0.35%3Farch=el4" }