Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/285216?format=api",
    "purl": "pkg:apk/alpine/postgresql@9.4.12-r0?arch=x86_64&distroversion=v3.3&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "postgresql",
    "version": "9.4.12-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.3",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.4.13-r0",
    "latest_non_vulnerable_version": "9.4.13-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4782?format=api",
            "vulnerability_id": "VCID-av92-btzd-2uh8",
            "summary": "man-in-the-middle",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7485",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78408",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7485"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/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/2017-05-11-security-update-release-1746/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2017-05-11-security-update-release-1746/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2017-7485/",
                    "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-7485/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-24",
                    "reference_id": "ASA-201705-24",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-24"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-280",
                    "reference_id": "AVG-280",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-280"
                },
                {
                    "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"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/285216?format=api",
                    "purl": "pkg:apk/alpine/postgresql@9.4.12-r0?arch=x86_64&distroversion=v3.3&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql@9.4.12-r0%3Farch=x86_64&distroversion=v3.3&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-7485"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-av92-btzd-2uh8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6300?format=api",
            "vulnerability_id": "VCID-t9az-f9yb-bffv",
            "summary": "information disclosure",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7484",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01443",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81052",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7484"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:S/C:P/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2017-05-11-security-update-release-1746/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2017-05-11-security-update-release-1746/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2017-7484/",
                    "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-2017-7484/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-23",
                    "reference_id": "ASA-201705-23",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-23"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-272",
                    "reference_id": "AVG-272",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-272"
                },
                {
                    "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"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/285216?format=api",
                    "purl": "pkg:apk/alpine/postgresql@9.4.12-r0?arch=x86_64&distroversion=v3.3&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql@9.4.12-r0%3Farch=x86_64&distroversion=v3.3&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-7484"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t9az-f9yb-bffv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6299?format=api",
            "vulnerability_id": "VCID-uhff-8wfg-jffb",
            "summary": "information disclosure",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7486",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04124",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88817",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7486"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:S/C:P/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/2017-05-11-security-update-release-1746/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/2017-05-11-security-update-release-1746/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2017-7486/",
                    "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-7486/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-23",
                    "reference_id": "ASA-201705-23",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-23"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-272",
                    "reference_id": "AVG-272",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-272"
                },
                {
                    "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"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/285216?format=api",
                    "purl": "pkg:apk/alpine/postgresql@9.4.12-r0?arch=x86_64&distroversion=v3.3&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql@9.4.12-r0%3Farch=x86_64&distroversion=v3.3&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-7486"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uhff-8wfg-jffb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql@9.4.12-r0%3Farch=x86_64&distroversion=v3.3&reponame=main"
}