Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/571?format=api",
    "purl": "pkg:generic/postgresql@9.5.2",
    "type": "generic",
    "namespace": "",
    "name": "postgresql",
    "version": "9.5.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.5.4",
    "latest_non_vulnerable_version": "18.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3873?format=api",
            "vulnerability_id": "VCID-235z-6mm1-ryc1",
            "summary": "pageinspect does not check permissions for BRIN indexesmore details",
            "references": [
                {
                    "reference_url": "http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=bf78a6f107949fdfb513d1b45e30cefe04e09e4f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=bf78a6f107949fdfb513d1b45e30cefe04e09e4f"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-3065.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-3065.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3065",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78343",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78166",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78289",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78305",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78318",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78174",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78204",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78187",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78213",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78219",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78245",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78228",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78224",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78255",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78253",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7825",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78283",
                            "published_at": "2026-04-24T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3065"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2016-03-31-security-update-release-1656/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2016-03-31-security-update-release-1656/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2016-3065/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2016-3065/"
                },
                {
                    "reference_url": "http://www.postgresql.org/about/news/1656/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.postgresql.org/about/news/1656/"
                },
                {
                    "reference_url": "http://www.postgresql.org/docs/current/static/release-9-5-2.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.postgresql.org/docs/current/static/release-9-5-2.html"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1035468",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1035468"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1319810",
                    "reference_id": "1319810",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1319810"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3065",
                    "reference_id": "CVE-2016-3065",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:N/A:C"
                        },
                        {
                            "value": "9.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3065"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/571?format=api",
                    "purl": "pkg:generic/postgresql@9.5.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.2"
                }
            ],
            "aliases": [
                "CVE-2016-3065"
            ],
            "risk_score": 4.1,
            "exploitability": "0.5",
            "weighted_severity": "8.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-235z-6mm1-ryc1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3874?format=api",
            "vulnerability_id": "VCID-99q3-5g9b-xkc3",
            "summary": "Plan cache might use wrong role context for RLS policymore details",
            "references": [
                {
                    "reference_url": "http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=db69e58a0642ef7fa46d62f6c4cf2460c3a1b41b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=db69e58a0642ef7fa46d62f6c4cf2460c3a1b41b"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-2193.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-2193.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2193",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81392",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8122",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81344",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81352",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81356",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81372",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81229",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81252",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81251",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81279",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81284",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81305",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81291",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81283",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81321",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81322",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2193"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:H/Au:S/C:P/I:P/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2016-03-31-security-update-release-1656/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2016-03-31-security-update-release-1656/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2016-2193/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.2",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2016-2193/"
                },
                {
                    "reference_url": "http://www.postgresql.org/about/news/1656/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.postgresql.org/about/news/1656/"
                },
                {
                    "reference_url": "http://www.postgresql.org/docs/current/static/release-9-5-2.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.postgresql.org/docs/current/static/release-9-5-2.html"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1035468",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1035468"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1319806",
                    "reference_id": "1319806",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1319806"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2193",
                    "reference_id": "CVE-2016-2193",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:P/A:N"
                        },
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2193"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/571?format=api",
                    "purl": "pkg:generic/postgresql@9.5.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.2"
                }
            ],
            "aliases": [
                "CVE-2016-2193"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-99q3-5g9b-xkc3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.2"
}