Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/126075?format=api",
    "purl": "pkg:rpm/redhat/samba3x@3.5.10-0.108?arch=el5_8",
    "type": "rpm",
    "namespace": "redhat",
    "name": "samba3x",
    "version": "3.5.10-0.108",
    "qualifiers": {
        "arch": "el5_8"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/32167?format=api",
            "vulnerability_id": "VCID-2uuu-wpye-wufq",
            "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-1182.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1182.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1182",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98942",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98944",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98945",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98948",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9895",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98952",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98953",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98955",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98956",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98957",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98961",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98962",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.7681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98963",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1182"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1182",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1182"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668309",
                    "reference_id": "668309",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668309"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=804093",
                    "reference_id": "804093",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=804093"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/21850.rb",
                    "reference_id": "CVE-2012-1182;OSVDB-81303",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/21850.rb"
                },
                {
                    "reference_url": "http://www.zerodayinitiative.com/advisories/ZDI-12-069/",
                    "reference_id": "CVE-2012-1182;OSVDB-81303",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "http://www.zerodayinitiative.com/advisories/ZDI-12-069/"
                },
                {
                    "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:0465",
                    "reference_id": "RHSA-2012:0465",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0465"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0466",
                    "reference_id": "RHSA-2012:0466",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0466"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0478",
                    "reference_id": "RHSA-2012:0478",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0478"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:0506",
                    "reference_id": "RHSA-2013:0506",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:0506"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:0515",
                    "reference_id": "RHSA-2013:0515",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:0515"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1423-1/",
                    "reference_id": "USN-1423-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1423-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2012-1182"
            ],
            "risk_score": 1.4,
            "exploitability": "2.0",
            "weighted_severity": "0.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2uuu-wpye-wufq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba3x@3.5.10-0.108%3Farch=el5_8"
}