Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/259609?format=api",
    "purl": "pkg:apk/alpine/vim@8.2.4542-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "vim",
    "version": "8.2.4542-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.17",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.2.4619-r0",
    "latest_non_vulnerable_version": "9.0.0999-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188283?format=api",
            "vulnerability_id": "VCID-87t2-af6s-efdk",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-0696.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:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-0696.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0696",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00153",
                            "scoring_system": "epss",
                            "scoring_elements": "0.35679",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0696"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2056805",
                    "reference_id": "2056805",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2056805"
                },
                {
                    "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/259609?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4542-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4542-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0696"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-87t2-af6s-efdk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188201?format=api",
            "vulnerability_id": "VCID-pwqh-kfw3-q3a6",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-0572.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-0572.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0572",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82951",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0572"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2054278",
                    "reference_id": "2054278",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2054278"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5460-1/",
                    "reference_id": "USN-5460-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5460-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/259609?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4542-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4542-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0572"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pwqh-kfw3-q3a6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188307?format=api",
            "vulnerability_id": "VCID-xnfu-3mv1-wkcw",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-0729.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-0729.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0729",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00464",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64626",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0729"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2057716",
                    "reference_id": "2057716",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2057716"
                },
                {
                    "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/5460-1/",
                    "reference_id": "USN-5460-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5460-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/259609?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.4542-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4542-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-0729"
            ],
            "risk_score": 3.5,
            "exploitability": "0.5",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xnfu-3mv1-wkcw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.4542-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
}