Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28674?format=api",
    "purl": "pkg:pypi/ckan@2.6.0",
    "type": "pypi",
    "namespace": "",
    "name": "ckan",
    "version": "2.6.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.9.7",
    "latest_non_vulnerable_version": "2.11.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8618?format=api",
            "vulnerability_id": "VCID-w6cg-ubux-qbfg",
            "summary": "CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is sent via an HTTP POST request. This allows a user to take over an existing account including superuser accounts.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-43685",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75405",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-43685"
                },
                {
                    "reference_url": "https://ckan.org",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ckan.org"
                },
                {
                    "reference_url": "https://ckan.org/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ckan.org/"
                },
                {
                    "reference_url": "https://ckan.org/blog/get-latest-patch-releases-your-ckan-site-october-2022",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ckan.org/blog/get-latest-patch-releases-your-ckan-site-october-2022"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2022-42987.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2022-42987.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43685",
                    "reference_id": "CVE-2022-43685",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43685"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m2xp-jxfg-qq6g",
                    "reference_id": "GHSA-m2xp-jxfg-qq6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-m2xp-jxfg-qq6g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28716?format=api",
                    "purl": "pkg:pypi/ckan@2.9.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.9.7"
                }
            ],
            "aliases": [
                "CVE-2022-43685",
                "GHSA-m2xp-jxfg-qq6g",
                "PYSEC-2022-42987"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w6cg-ubux-qbfg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.6.0"
}