Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/157293?format=api",
    "purl": "pkg:generic/postgresql@9.3.18",
    "type": "generic",
    "namespace": "",
    "name": "postgresql",
    "version": "9.3.18",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.3.20",
    "latest_non_vulnerable_version": "18.4.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4707?format=api",
            "vulnerability_id": "VCID-shwb-akvd-afda",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7546.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7546.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7546",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.33122",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96984",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7546"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7546",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7546"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7547",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7547"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7548",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7548"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.4",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:N"
                        },
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2017-08-10-security-update-release-1772/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2017-08-10-security-update-release-1772/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2017-7546/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2017-7546/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1477184",
                    "reference_id": "1477184",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1477184"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201709-2",
                    "reference_id": "ASA-201709-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201709-2"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-381",
                    "reference_id": "AVG-381",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-381"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201710-06",
                    "reference_id": "GLSA-201710-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201710-06"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2677",
                    "reference_id": "RHSA-2017:2677",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2677"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2678",
                    "reference_id": "RHSA-2017:2678",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2678"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2728",
                    "reference_id": "RHSA-2017:2728",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2728"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2860",
                    "reference_id": "RHSA-2017:2860",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2860"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3390-1/",
                    "reference_id": "USN-3390-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3390-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157294?format=api",
                    "purl": "pkg:generic/postgresql@9.2.22",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.2.22"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157293?format=api",
                    "purl": "pkg:generic/postgresql@9.3.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.3.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157292?format=api",
                    "purl": "pkg:generic/postgresql@9.4.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.4.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157291?format=api",
                    "purl": "pkg:generic/postgresql@9.5.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157290?format=api",
                    "purl": "pkg:generic/postgresql@9.6.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.6.4"
                }
            ],
            "aliases": [
                "CVE-2017-7546"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-shwb-akvd-afda"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4706?format=api",
            "vulnerability_id": "VCID-t1n2-38rt-mudj",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7547.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7547.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7547",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01025",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77576",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7547"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7546",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7546"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7547",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7547"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7548",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7548"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.9",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:S/C:P/I:P/A:N"
                        },
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2017-08-10-security-update-release-1772/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2017-08-10-security-update-release-1772/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2017-7547/",
                    "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-2017-7547/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1477185",
                    "reference_id": "1477185",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1477185"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201709-2",
                    "reference_id": "ASA-201709-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201709-2"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-381",
                    "reference_id": "AVG-381",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-381"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201710-06",
                    "reference_id": "GLSA-201710-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201710-06"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2677",
                    "reference_id": "RHSA-2017:2677",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2677"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2678",
                    "reference_id": "RHSA-2017:2678",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2678"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2728",
                    "reference_id": "RHSA-2017:2728",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2728"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3390-1/",
                    "reference_id": "USN-3390-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3390-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157294?format=api",
                    "purl": "pkg:generic/postgresql@9.2.22",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.2.22"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157293?format=api",
                    "purl": "pkg:generic/postgresql@9.3.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.3.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157292?format=api",
                    "purl": "pkg:generic/postgresql@9.4.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.4.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157291?format=api",
                    "purl": "pkg:generic/postgresql@9.5.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/157290?format=api",
                    "purl": "pkg:generic/postgresql@9.6.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.6.4"
                }
            ],
            "aliases": [
                "CVE-2017-7547"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t1n2-38rt-mudj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.3.18"
}