Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/9556?format=api",
    "purl": "pkg:pypi/python-jose@0.5.3",
    "type": "pypi",
    "namespace": "",
    "name": "python-jose",
    "version": "0.5.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.4.0",
    "latest_non_vulnerable_version": "3.4.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36776?format=api",
            "vulnerability_id": "VCID-nph9-2swf-47cn",
            "summary": "python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.",
            "references": [
                {
                    "reference_url": "https://github.com/mpdavis/python-jose/issues/346",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mpdavis/python-jose/issues/346"
                },
                {
                    "reference_url": "https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-python-jose-cve-2024-33663",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-python-jose-cve-2024-33663"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40937?format=api",
                    "purl": "pkg:pypi/python-jose@3.4.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-jose@3.4.0"
                }
            ],
            "aliases": [
                "CVE-2024-33663",
                "PYSEC-2024-232"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nph9-2swf-47cn"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36775?format=api",
            "vulnerability_id": "VCID-qr7r-81eb-sud4",
            "summary": "python-jose through 3.3.0 allows attackers to cause a denial of service (resource consumption) during a decode via a crafted JSON Web Encryption (JWE) token with a high compression ratio, aka a \"JWT bomb.\" This is similar to CVE-2024-21319.",
            "references": [
                {
                    "reference_url": "https://github.com/mpdavis/python-jose/issues/344",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mpdavis/python-jose/issues/344"
                },
                {
                    "reference_url": "https://github.com/mpdavis/python-jose/pull/345",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mpdavis/python-jose/pull/345"
                },
                {
                    "reference_url": "https://www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40937?format=api",
                    "purl": "pkg:pypi/python-jose@3.4.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-jose@3.4.0"
                }
            ],
            "aliases": [
                "CVE-2024-33664",
                "PYSEC-2024-233"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qr7r-81eb-sud4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35018?format=api",
            "vulnerability_id": "VCID-wzf6-nvmk-tud8",
            "summary": "python-jose before 1.3.2 allows attackers to have unspecified impact by leveraging failure to use a constant time comparison for HMAC keys.",
            "references": [
                {
                    "reference_url": "https://github.com/mpdavis/python-jose/pull/35/commits/89b46353b9f611e9da38de3d2fedf52331167b93",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mpdavis/python-jose/pull/35/commits/89b46353b9f611e9da38de3d2fedf52331167b93"
                },
                {
                    "reference_url": "https://github.com/mpdavis/python-jose/releases/tag/1.3.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mpdavis/python-jose/releases/tag/1.3.2"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95845",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/95845"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9568?format=api",
                    "purl": "pkg:pypi/python-jose@1.3.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-nph9-2swf-47cn"
                        },
                        {
                            "vulnerability": "VCID-qr7r-81eb-sud4"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-jose@1.3.2"
                }
            ],
            "aliases": [
                "CVE-2016-7036",
                "PYSEC-2017-28"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wzf6-nvmk-tud8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-jose@0.5.3"
}