Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/41543?format=api",
    "purl": "pkg:pypi/authlib@0.14.2",
    "type": "pypi",
    "namespace": "",
    "name": "authlib",
    "version": "0.14.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.6.11",
    "latest_non_vulnerable_version": "1.6.11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37302?format=api",
            "vulnerability_id": "VCID-hrf7-xz6n-efcg",
            "summary": "Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.11, there is no CSRF protection on the cache feature in authlib.integrations.starlette_client.OAuth.  This vulnerability is fixed in 1.6.11.",
            "references": [
                {
                    "reference_url": "https://github.com/authlib/authlib/security/advisories/GHSA-jj8c-mmj3-mmgv",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/authlib/authlib/security/advisories/GHSA-jj8c-mmj3-mmgv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/49680?format=api",
                    "purl": "pkg:pypi/authlib@1.6.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/authlib@1.6.11"
                }
            ],
            "aliases": [
                "CVE-2026-41425",
                "GHSA-jj8c-mmj3-mmgv",
                "PYSEC-2026-25"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hrf7-xz6n-efcg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36812?format=api",
            "vulnerability_id": "VCID-tk6q-528z-rye4",
            "summary": "lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)",
            "references": [
                {
                    "reference_url": "https://github.com/lepture/authlib/issues/654",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/lepture/authlib/issues/654"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/41563?format=api",
                    "purl": "pkg:pypi/authlib@1.3.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hrf7-xz6n-efcg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/authlib@1.3.1"
                }
            ],
            "aliases": [
                "CVE-2024-37568",
                "PYSEC-2024-52"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tk6q-528z-rye4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/authlib@0.14.2"
}