Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/119524?format=api",
    "purl": "pkg:rpm/redhat/samba3x@3.5.4-0.70.el5_6?arch=4",
    "type": "rpm",
    "namespace": "redhat",
    "name": "samba3x",
    "version": "3.5.4-0.70.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/56867?format=api",
            "vulnerability_id": "VCID-45rp-gyp5-ukfb",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which allowing a context-dependent attacker to bypass intended file\n    restrictions, cause a Denial of Service or execute arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-0240.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-0240.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-0240",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.89539",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99551",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.89539",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99552",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.89539",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99553",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.89694",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99567",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.89694",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99568",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.89708",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99565",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.90696",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99627",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.90696",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99625",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.91081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99646",
                            "published_at": "2026-04-24T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-0240"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0240",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0240"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1191325",
                    "reference_id": "1191325",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1191325"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779033",
                    "reference_id": "779033",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779033"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux_x86/dos/36741.py",
                    "reference_id": "CVE-2015-0240;OSVDB-118637",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux_x86/dos/36741.py"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201502-15",
                    "reference_id": "GLSA-201502-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201502-15"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0249",
                    "reference_id": "RHSA-2015:0249",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0249"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0250",
                    "reference_id": "RHSA-2015:0250",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0250"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0251",
                    "reference_id": "RHSA-2015:0251",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0251"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0252",
                    "reference_id": "RHSA-2015:0252",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0252"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0253",
                    "reference_id": "RHSA-2015:0253",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0253"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0254",
                    "reference_id": "RHSA-2015:0254",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0254"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0255",
                    "reference_id": "RHSA-2015:0255",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0255"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0256",
                    "reference_id": "RHSA-2015:0256",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0256"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:0257",
                    "reference_id": "RHSA-2015:0257",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:0257"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2508-1/",
                    "reference_id": "USN-2508-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2508-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2015-0240"
            ],
            "risk_score": 1.6,
            "exploitability": "2.0",
            "weighted_severity": "0.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-45rp-gyp5-ukfb"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba3x@3.5.4-0.70.el5_6%3Farch=4"
}