Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/257?format=api",
    "purl": "pkg:generic/postgresql@9.3.14",
    "type": "generic",
    "namespace": "",
    "name": "postgresql",
    "version": "9.3.14",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.3.15",
    "latest_non_vulnerable_version": "18.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3542?format=api",
            "vulnerability_id": "VCID-8bu8-zpfv-8bgg",
            "summary": "Exceptional database and role names could enable escalation to superusermore details",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5424.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5424.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5424",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82076",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82218",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82184",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82207",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82088",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82109",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82105",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82132",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82139",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82158",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82149",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82144",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82181",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01674",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82182",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5424"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5423",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5423"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5424",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5424"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:M/Au:S/C:C/I:C/A:C"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2016-08-11-security-update-release-1688/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2016-08-11-security-update-release-1688/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2016-5424/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2016-5424/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1364002",
                    "reference_id": "1364002",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1364002"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201701-33",
                    "reference_id": "GLSA-201701-33",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-33"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:1781",
                    "reference_id": "RHSA-2016:1781",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:1781"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:1820",
                    "reference_id": "RHSA-2016:1820",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:1820"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:1821",
                    "reference_id": "RHSA-2016:1821",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:1821"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:2606",
                    "reference_id": "RHSA-2016:2606",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:2606"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2425",
                    "reference_id": "RHSA-2017:2425",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2425"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3066-1/",
                    "reference_id": "USN-3066-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3066-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/259?format=api",
                    "purl": "pkg:generic/postgresql@9.1.23",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.1.23"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/258?format=api",
                    "purl": "pkg:generic/postgresql@9.2.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.2.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/257?format=api",
                    "purl": "pkg:generic/postgresql@9.3.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.3.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/256?format=api",
                    "purl": "pkg:generic/postgresql@9.4.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.4.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/255?format=api",
                    "purl": "pkg:generic/postgresql@9.5.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.4"
                }
            ],
            "aliases": [
                "CVE-2016-5424"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8bu8-zpfv-8bgg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3543?format=api",
            "vulnerability_id": "VCID-9b6v-1bt1-dfgy",
            "summary": "Certain nested CASE/WHEN expressions can crash servermore details",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5423.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5423.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5423",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87365",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87454",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87431",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87447",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87374",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8739",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87389",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87408",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87415",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87428",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87423",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87419",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87433",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.87436",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5423"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5423",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5423"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5424",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5424"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:S/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2016-08-11-security-update-release-1688/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2016-08-11-security-update-release-1688/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2016-5423/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2016-5423/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1364001",
                    "reference_id": "1364001",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1364001"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201701-33",
                    "reference_id": "GLSA-201701-33",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-33"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:1781",
                    "reference_id": "RHSA-2016:1781",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:1781"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:1820",
                    "reference_id": "RHSA-2016:1820",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:1820"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:1821",
                    "reference_id": "RHSA-2016:1821",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:1821"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2016:2606",
                    "reference_id": "RHSA-2016:2606",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2016:2606"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2425",
                    "reference_id": "RHSA-2017:2425",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2425"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3066-1/",
                    "reference_id": "USN-3066-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3066-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/259?format=api",
                    "purl": "pkg:generic/postgresql@9.1.23",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.1.23"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/258?format=api",
                    "purl": "pkg:generic/postgresql@9.2.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.2.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/257?format=api",
                    "purl": "pkg:generic/postgresql@9.3.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.3.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/256?format=api",
                    "purl": "pkg:generic/postgresql@9.4.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.4.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/255?format=api",
                    "purl": "pkg:generic/postgresql@9.5.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.4"
                }
            ],
            "aliases": [
                "CVE-2016-5423"
            ],
            "risk_score": 3.9,
            "exploitability": "0.5",
            "weighted_severity": "7.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9b6v-1bt1-dfgy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.3.14"
}