Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/217018?format=api",
    "purl": "pkg:apk/alpine/vim@8.2.5055-r0?arch=x86&distroversion=v3.19&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "vim",
    "version": "8.2.5055-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.19",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.2.5170-r0",
    "latest_non_vulnerable_version": "9.0.2112-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/189183?format=api",
            "vulnerability_id": "VCID-nn32-npw4-4kge",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00495",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66061",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1851"
                },
                {
                    "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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015984",
                    "reference_id": "1015984",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015984"
                },
                {
                    "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://security.gentoo.org/glsa/202305-16",
                    "reference_id": "GLSA-202305-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202305-16"
                },
                {
                    "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/217018?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.5055-r0?arch=x86&distroversion=v3.19&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.5055-r0%3Farch=x86&distroversion=v3.19&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-1851"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nn32-npw4-4kge"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/189202?format=api",
            "vulnerability_id": "VCID-q5kg-28xy-cycr",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00443",
                            "scoring_system": "epss",
                            "scoring_elements": "0.636",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-1898"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015984",
                    "reference_id": "1015984",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015984"
                },
                {
                    "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://security.gentoo.org/glsa/202305-16",
                    "reference_id": "GLSA-202305-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202305-16"
                },
                {
                    "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/217018?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.5055-r0?arch=x86&distroversion=v3.19&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.5055-r0%3Farch=x86&distroversion=v3.19&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-1898"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q5kg-28xy-cycr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.5055-r0%3Farch=x86&distroversion=v3.19&reponame=main"
}