Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/268142?format=api",
    "purl": "pkg:apk/alpine/vim@8.2.4350-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "vim",
    "version": "8.2.4350-r0",
    "qualifiers": {
        "arch": "loongarch64",
        "distroversion": "v3.22",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.2.4542-r0",
    "latest_non_vulnerable_version": "9.1.1202-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/767?format=api",
            "vulnerability_id": "VCID-7186-n4et-jufc",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0392",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00162",
                            "scoring_system": "epss",
                            "scoring_elements": "0.36875",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0392"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2843",
                    "reference_id": "AVG-2843",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Unknown",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2843"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-32",
                    "reference_id": "GLSA-202208-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5801-1/",
                    "reference_id": "USN-5801-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5801-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/268142?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4350-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4350-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0392"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7186-n4et-jufc"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188104?format=api",
            "vulnerability_id": "VCID-dukm-82mh-nuev",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0443",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.42499",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0443"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-32",
                    "reference_id": "GLSA-202208-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5458-1/",
                    "reference_id": "USN-5458-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5458-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6026-1/",
                    "reference_id": "USN-6026-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6026-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/268142?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4350-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4350-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0443"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dukm-82mh-nuev"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188077?format=api",
            "vulnerability_id": "VCID-dymt-n8a5-wber",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0407",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23626",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0407"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-32",
                    "reference_id": "GLSA-202208-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6195-1/",
                    "reference_id": "USN-6195-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6195-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/268142?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4350-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4350-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0407"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dymt-n8a5-wber"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188082?format=api",
            "vulnerability_id": "VCID-k451-axyw-7fc1",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0413",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39284",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0413"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-32",
                    "reference_id": "GLSA-202208-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5498-1/",
                    "reference_id": "USN-5498-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5498-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5995-1/",
                    "reference_id": "USN-5995-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5995-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/268142?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4350-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4350-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0413"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k451-axyw-7fc1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188078?format=api",
            "vulnerability_id": "VCID-v8u1-nn9g-dudx",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0408",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00239",
                            "scoring_system": "epss",
                            "scoring_elements": "0.47115",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0408"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-32",
                    "reference_id": "GLSA-202208-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5458-1/",
                    "reference_id": "USN-5458-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5458-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6026-1/",
                    "reference_id": "USN-6026-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6026-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/268142?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4350-r0?arch=loongarch64&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4350-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0408"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v8u1-nn9g-dudx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4350-r0%3Farch=loongarch64&distroversion=v3.22&reponame=main"
}