Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/380193?format=api",
    "purl": "pkg:apk/alpine/postgresql14@13.3-r0?arch=x86&distroversion=v3.19&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "postgresql14",
    "version": "13.3-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.19",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "13.4-r0",
    "latest_non_vulnerable_version": "14.14-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5611?format=api",
            "vulnerability_id": "VCID-4wrk-ru3s-8fgh",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32028",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00641",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70917",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32028"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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/postgresql-133-127-1112-1017-and-9622-released-2210/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2021-32028/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2021-32028/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202106-15",
                    "reference_id": "ASA-202106-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202106-15"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1956",
                    "reference_id": "AVG-1956",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1956"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202211-04",
                    "reference_id": "GLSA-202211-04",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202211-04"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4972-1/",
                    "reference_id": "USN-4972-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4972-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/380193?format=api",
                    "purl": "pkg:apk/alpine/postgresql14@13.3-r0?arch=x86&distroversion=v3.19&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql14@13.3-r0%3Farch=x86&distroversion=v3.19&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-32028"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4wrk-ru3s-8fgh"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5612?format=api",
            "vulnerability_id": "VCID-a67d-xfrq-1uhu",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32027",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00491",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65888",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32027"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/postgresql-133-127-1112-1017-and-9622-released-2210/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2021-32027/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2021-32027/"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202106-15",
                    "reference_id": "ASA-202106-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202106-15"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1956",
                    "reference_id": "AVG-1956",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1956"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202211-04",
                    "reference_id": "GLSA-202211-04",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202211-04"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4972-1/",
                    "reference_id": "USN-4972-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4972-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5645-1/",
                    "reference_id": "USN-5645-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5645-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/380193?format=api",
                    "purl": "pkg:apk/alpine/postgresql14@13.3-r0?arch=x86&distroversion=v3.19&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql14@13.3-r0%3Farch=x86&distroversion=v3.19&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-32027"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a67d-xfrq-1uhu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql14@13.3-r0%3Farch=x86&distroversion=v3.19&reponame=community"
}