Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/515364?format=api",
    "purl": "pkg:deb/debian/postgresql-common@165",
    "type": "deb",
    "namespace": "debian",
    "name": "postgresql-common",
    "version": "165",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "225+deb11u1",
    "latest_non_vulnerable_version": "225+deb11u1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/98544?format=api",
            "vulnerability_id": "VCID-598f-7r11-eyhe",
            "summary": "The Debian pg_ctlcluster, pg_createcluster, and pg_upgradecluster scripts, as distributed in the Debian postgresql-common package before 181+deb9u1 for PostgreSQL (and other packages related to Debian and Ubuntu), handled symbolic links insecurely, which could result in local denial of service by overwriting arbitrary files.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8806",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3176",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3183",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31798",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31761",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31729",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00128",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31752",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-8806"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8806",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8806"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3476-1/",
                    "reference_id": "USN-3476-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3476-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3476-2/",
                    "reference_id": "USN-3476-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3476-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/515366?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@165%2Bdeb8u3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-598f-7r11-eyhe"
                        },
                        {
                            "vulnerability": "VCID-mru5-m6c1-m7dd"
                        },
                        {
                            "vulnerability": "VCID-rx4s-pkpr-qygm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@165%252Bdeb8u3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/515921?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@181%2Bdeb9u3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-598f-7r11-eyhe"
                        },
                        {
                            "vulnerability": "VCID-mru5-m6c1-m7dd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@181%252Bdeb9u3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/516356?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@200%2Bdeb10u5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mru5-m6c1-m7dd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@200%252Bdeb10u5"
                }
            ],
            "aliases": [
                "CVE-2017-8806"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-598f-7r11-eyhe"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/58289?format=api",
            "vulnerability_id": "VCID-mru5-m6c1-m7dd",
            "summary": "pg_ctlcluster script in postgresql-common does not drop privileges when creating socket/statistics temporary directoriesmore details",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-3466",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30191",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30153",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30227",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30146",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30161",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00118",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30131",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-3466"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3466",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-3466"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/additional-advisory-to-2019-11-14-cumulative-update-release-for-debian-and-ubuntu-users-1998/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/additional-advisory-to-2019-11-14-cumulative-update-release-for-debian-and-ubuntu-users-1998/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2019-3466/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2019-3466/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4194-1/",
                    "reference_id": "USN-4194-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4194-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4194-2/",
                    "reference_id": "USN-4194-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4194-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/515921?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@181%2Bdeb9u3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-598f-7r11-eyhe"
                        },
                        {
                            "vulnerability": "VCID-mru5-m6c1-m7dd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@181%252Bdeb9u3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/516356?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@200%2Bdeb10u5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mru5-m6c1-m7dd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@200%252Bdeb10u5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/518979?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@225%2Bdeb11u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@225%252Bdeb11u1"
                }
            ],
            "aliases": [
                "CVE-2019-3466"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mru5-m6c1-m7dd"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/98542?format=api",
            "vulnerability_id": "VCID-rx4s-pkpr-qygm",
            "summary": "The pg_ctlcluster script in postgresql-common package in Debian wheezy before 134wheezy5, in Debian jessie before 165+deb8u2, in Debian unstable before 178, in Ubuntu 12.04 LTS before 129ubuntu1.2, in Ubuntu 14.04 LTS before 154ubuntu1.1, in Ubuntu 16.04 LTS before 173ubuntu0.1, in Ubuntu 17.04 before 179ubuntu0.1, and in Ubuntu 17.10 before 184ubuntu1.1 allows local users to gain root privileges via a symlink attack on a logfile in /var/log/postgresql.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-1255",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10542",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10442",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10522",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10479",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10504",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00034",
                            "scoring_system": "epss",
                            "scoring_elements": "0.10418",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-1255"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1255",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1255"
                },
                {
                    "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://usn.ubuntu.com/3476-1/",
                    "reference_id": "USN-3476-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3476-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3476-2/",
                    "reference_id": "USN-3476-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3476-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/515920?format=api",
                    "purl": "pkg:deb/debian/postgresql-common@181%2Bdeb9u1~bpo8%2B1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-598f-7r11-eyhe"
                        },
                        {
                            "vulnerability": "VCID-mru5-m6c1-m7dd"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@181%252Bdeb9u1~bpo8%252B1"
                }
            ],
            "aliases": [
                "CVE-2016-1255"
            ],
            "risk_score": 1.6,
            "exploitability": "0.5",
            "weighted_severity": "3.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rx4s-pkpr-qygm"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/postgresql-common@165"
}