Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/129521?format=api",
    "purl": "pkg:rpm/redhat/samba@3.0.10-2.el4_5?arch=2",
    "type": "rpm",
    "namespace": "redhat",
    "name": "samba",
    "version": "3.0.10-2.el4_5",
    "qualifiers": {
        "arch": "2"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/60840?format=api",
            "vulnerability_id": "VCID-8c85-jme1-1qes",
            "summary": "Samba contains a buffer overflow vulnerability potentially resulting in the\n    execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-6015.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-6015.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-6015",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.42667",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97446",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.42667",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97453",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.42667",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97457",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.42667",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97458",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97753",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97757",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97759",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97761",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97763",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97768",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97771",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97773",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97778",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.48861",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97781",
                            "published_at": "2026-05-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-6015"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6015",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6015"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=396401",
                    "reference_id": "396401",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=396401"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200712-10",
                    "reference_id": "GLSA-200712-10",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200712-10"
                },
                {
                    "reference_url": "http://secunia.com/secunia_research/2007-99/advisory/",
                    "reference_id": "OSVDB-39191;CVE-2007-6015",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "http://secunia.com/secunia_research/2007-99/advisory/"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/4732.c",
                    "reference_id": "OSVDB-39191;CVE-2007-6015",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/4732.c"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2007:1114",
                    "reference_id": "RHSA-2007:1114",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2007:1114"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2007:1117",
                    "reference_id": "RHSA-2007:1117",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2007:1117"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/556-1/",
                    "reference_id": "USN-556-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/556-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2007-6015"
            ],
            "risk_score": 0.8,
            "exploitability": "2.0",
            "weighted_severity": "0.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8c85-jme1-1qes"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "0.8",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@3.0.10-2.el4_5%3Farch=2"
}