Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/389?format=api",
    "purl": "pkg:generic/postgresql@8.1.3",
    "type": "generic",
    "namespace": "",
    "name": "postgresql",
    "version": "8.1.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.1.4",
    "latest_non_vulnerable_version": "18.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3591?format=api",
            "vulnerability_id": "VCID-cnye-56z6-qqd6",
            "summary": "A bug in the handling of SET ROLE allows escalation of privileges to any other database user, including superuser. A valid login is required to exploit this vulnerability.more details",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-0553.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-0553.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-0553",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82884",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82901",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82913",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8291",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82935",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82942",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82958",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82952",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82949",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82987",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8299",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83012",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8302",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83027",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83049",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83069",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8309",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83089",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.01839",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83105",
                            "published_at": "2026-05-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-0553"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2006-0553/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/support/security/CVE-2006-0553/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/389?format=api",
                    "purl": "pkg:generic/postgresql@8.1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.1.3"
                }
            ],
            "aliases": [
                "CVE-2006-0553"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cnye-56z6-qqd6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.1.3"
}