Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/374111?format=api",
    "purl": "pkg:alpm/archlinux/keycloak@11.0.3-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "keycloak",
    "version": "11.0.3-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "12.0.0-1",
    "latest_non_vulnerable_version": "16.0.0-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12578?format=api",
            "vulnerability_id": "VCID-rssz-yqj9-b7h8",
            "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nA vulnerability was found in keycloak, where path traversal using URL-encoded path segments in the request is possible because the resources endpoint applies a transformation of the url path to the file path. Only few specific folder hierarchies can be exposed by this flaw",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-14366.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-14366.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-14366",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59683",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59715",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59699",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59668",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59688",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59673",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59635",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59557",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59631",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59656",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59625",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59676",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5969",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5971",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59693",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59674",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00384",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59707",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-14366"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14366",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14366"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1869764",
                    "reference_id": "1869764",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1869764"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1471",
                    "reference_id": "AVG-1471",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1471"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-14366",
                    "reference_id": "CVE-2020-14366",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-14366"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cp67-8w3w-6h9c",
                    "reference_id": "GHSA-cp67-8w3w-6h9c",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-cp67-8w3w-6h9c"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4931",
                    "reference_id": "RHSA-2020:4931",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4931"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/374112?format=api",
                    "purl": "pkg:alpm/archlinux/keycloak@12.0.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/keycloak@12.0.0-1"
                }
            ],
            "aliases": [
                "CVE-2020-14366",
                "GHSA-cp67-8w3w-6h9c"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rssz-yqj9-b7h8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53365?format=api",
            "vulnerability_id": "VCID-t22n-hvrb-67b5",
            "summary": "Authentication Bypass in keycloak\nA flaw was found in Keycloak before version 12.0.0 where it is possible to update the user's metadata attributes using Account REST API. This flaw allows an attacker to change its own NameID attribute to impersonate the admin user for any particular application.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-27826.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.2",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-27826.json"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/cve-2020-27826",
                    "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"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://access.redhat.com/security/cve/cve-2020-27826"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27826",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3721",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37638",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37685",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37668",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37605",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37368",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37349",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3726",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37143",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37538",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37719",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37744",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37622",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37673",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37687",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.377",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00166",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37666",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27826"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1905089",
                    "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"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1905089"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72",
                    "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"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/keycloak/keycloak/commit/dae4a3eaf26590b8d441b8e4bec3b700ee303b72"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27826",
                    "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"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27826"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1373",
                    "reference_id": "AVG-1373",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1373"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m9cj-v55f-8x26",
                    "reference_id": "GHSA-m9cj-v55f-8x26",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-m9cj-v55f-8x26"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5526",
                    "reference_id": "RHSA-2020:5526",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5526"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5527",
                    "reference_id": "RHSA-2020:5527",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5527"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5528",
                    "reference_id": "RHSA-2020:5528",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5528"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5533",
                    "reference_id": "RHSA-2020:5533",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5533"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/374112?format=api",
                    "purl": "pkg:alpm/archlinux/keycloak@12.0.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/keycloak@12.0.0-1"
                }
            ],
            "aliases": [
                "CVE-2020-27826",
                "GHSA-m9cj-v55f-8x26"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t22n-hvrb-67b5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/keycloak@11.0.3-1"
}