Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/323019?format=api",
    "purl": "pkg:apk/alpine/postgresql15@10.4-r0?arch=s390x&distroversion=v3.19&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "postgresql15",
    "version": "10.4-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.19",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "10.5-r0",
    "latest_non_vulnerable_version": "15.15-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/179889?format=api",
            "vulnerability_id": "VCID-zvvu-z3hb-yycb",
            "summary": "Multiple vulnerabilities have been found in PostgreSQL, the worst\n    which could lead to privilege escalation.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1115.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.2",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1115.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00593",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6975",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00593",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6984",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1115"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/postgresql-104-969-9513-9418-and-9323-released-1851/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/postgresql-104-969-9513-9418-and-9323-released-1851/"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2018-1115/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "['AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N']"
                        }
                    ],
                    "url": "https://www.postgresql.org/support/security/CVE-2018-1115/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1573276",
                    "reference_id": "1573276",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1573276"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201810-08",
                    "reference_id": "GLSA-201810-08",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201810-08"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2565",
                    "reference_id": "RHSA-2018:2565",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2565"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2566",
                    "reference_id": "RHSA-2018:2566",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2566"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/323019?format=api",
                    "purl": "pkg:apk/alpine/postgresql15@10.4-r0?arch=s390x&distroversion=v3.19&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql15@10.4-r0%3Farch=s390x&distroversion=v3.19&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-1115"
            ],
            "risk_score": 1.9,
            "exploitability": "0.5",
            "weighted_severity": "3.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zvvu-z3hb-yycb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/postgresql15@10.4-r0%3Farch=s390x&distroversion=v3.19&reponame=main"
}