Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/100764?format=api",
    "purl": "pkg:rpm/redhat/glib2@2.56.4-156?arch=el8",
    "type": "rpm",
    "namespace": "redhat",
    "name": "glib2",
    "version": "2.56.4-156",
    "qualifiers": {
        "arch": "el8"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46201?format=api",
            "vulnerability_id": "VCID-bfyu-jryn-eyak",
            "summary": "Multiple vulnerabilities have been found in GLib, the worst of\n    which could result in the arbitrary execution of code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-28153.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-28153.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28153",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68647",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68661",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68684",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68712",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6873",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68753",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00574",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68665",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00749",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73116",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00749",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73123",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28153"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28153",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28153"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://gitlab.gnome.org/GNOME/glib/-/issues/2325",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://gitlab.gnome.org/GNOME/glib/-/issues/2325"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1938291",
                    "reference_id": "1938291",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1938291"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984969",
                    "reference_id": "984969",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984969"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1680",
                    "reference_id": "AVG-1680",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1680"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28153",
                    "reference_id": "CVE-2021-28153",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28153"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202107-13",
                    "reference_id": "GLSA-202107-13",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202107-13"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4385",
                    "reference_id": "RHSA-2021:4385",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4385"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8418",
                    "reference_id": "RHSA-2022:8418",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8418"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4764-1/",
                    "reference_id": "USN-4764-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4764-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-28153"
            ],
            "risk_score": 2.4,
            "exploitability": "0.5",
            "weighted_severity": "4.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bfyu-jryn-eyak"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80542?format=api",
            "vulnerability_id": "VCID-khtv-um6m-pkad",
            "summary": "glib2: Possible privilege escalation thourgh pkexec and aliases",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3800.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3800.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3800",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.1965",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19788",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.1984",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19562",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19642",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19694",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19698",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19649",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00063",
                            "scoring_system": "epss",
                            "scoring_elements": "0.19591",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3800"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3800",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3800"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://gitlab.gnome.org/GNOME/glib/-/commit/3529bb4450a51995",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://gitlab.gnome.org/GNOME/glib/-/commit/3529bb4450a51995"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2017/06/23/8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openwall.com/lists/oss-security/2017/06/23/8"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1938284",
                    "reference_id": "1938284",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1938284"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2021-3800",
                    "reference_id": "CVE-2021-3800",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2021-3800"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3800",
                    "reference_id": "CVE-2021-3800",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3800"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4385",
                    "reference_id": "RHSA-2021:4385",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4385"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5189-1/",
                    "reference_id": "USN-5189-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5189-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-3800"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-khtv-um6m-pkad"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/glib2@2.56.4-156%3Farch=el8"
}