Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/126145?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/126145?format=api", "purl": "pkg:rpm/redhat/samba@3.0.33-3.29.el5_6?arch=4", "type": "rpm", "namespace": "redhat", "name": "samba", "version": "3.0.33-3.29.el5_6", "qualifiers": { "arch": "4" }, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/32166?format=api", "vulnerability_id": "VCID-fhxt-mhur-97gm", "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.97648", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97655", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97656", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97657", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97662", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97664", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97666", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97669", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.9767", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97677", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97679", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97678", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97684", "published_at": "2026-04-29T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.97689", "published_at": "2026-05-05T12:55:00Z" }, { "value": "0.46876", "scoring_system": "epss", "scoring_elements": "0.9769", "published_at": "2026-05-07T12: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-fhxt-mhur-97gm" } ], "fixing_vulnerabilities": [], "risk_score": "0.2", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@3.0.33-3.29.el5_6%3Farch=4" }