Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/490682?format=api",
    "purl": "pkg:apk/alpine/glib@2.58.1-r3?arch=armhf&distroversion=v3.9&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "glib",
    "version": "2.58.1-r3",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.9",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82520?format=api",
            "vulnerability_id": "VCID-83s2-671n-zugn",
            "summary": "glib2: file_copy_fallback in gio/gfile.c in GNOME GLib does not properly restrict file permissions while a copy operation is in progress",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12450.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12450.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12450",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73877",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73839",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73861",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73843",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73835",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73791",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00788",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73826",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00923",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7594",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00923",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75972",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00923",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75936",
                            "published_at": "2026-04-01T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12450"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12450",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12450"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1719141",
                    "reference_id": "1719141",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1719141"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929753",
                    "reference_id": "929753",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929753"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:3530",
                    "reference_id": "RHSA-2019:3530",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3530"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3978",
                    "reference_id": "RHSA-2020:3978",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3978"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:0949",
                    "reference_id": "RHSA-2021:0949",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:0949"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4014-1/",
                    "reference_id": "USN-4014-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4014-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4014-2/",
                    "reference_id": "USN-4014-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4014-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/490682?format=api",
                    "purl": "pkg:apk/alpine/glib@2.58.1-r3?arch=armhf&distroversion=v3.9&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/glib@2.58.1-r3%3Farch=armhf&distroversion=v3.9&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2019-12450"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-83s2-671n-zugn"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/glib@2.58.1-r3%3Farch=armhf&distroversion=v3.9&reponame=main"
}