Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/182872?format=api",
    "purl": "pkg:rpm/redhat/samba3x@3.5.10-0.109?arch=el5_8",
    "type": "rpm",
    "namespace": "redhat",
    "name": "samba3x",
    "version": "3.5.10-0.109",
    "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/100641?format=api",
            "vulnerability_id": "VCID-bk9c-f69a-akdc",
            "summary": "The (1) CreateAccount, (2) OpenAccount, (3) AddAccountRights, and (4) RemoveAccountRights LSA RPC procedures in smbd in Samba 3.4.x before 3.4.17, 3.5.x before 3.5.15, and 3.6.x before 3.6.5 do not properly restrict modifications to the privileges database, which allows remote authenticated users to obtain the \"take ownership\" privilege via an LSA connection.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2111.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2111.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2111",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02255",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84903",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.02255",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84927",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2111"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2111",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2111"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=813569",
                    "reference_id": "813569",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=813569"
                },
                {
                    "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:0533",
                    "reference_id": "RHSA-2012:0533",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0533"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1434-1/",
                    "reference_id": "USN-1434-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1434-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2012-2111"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bk9c-f69a-akdc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba3x@3.5.10-0.109%3Farch=el5_8"
}