Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/16502?format=api",
    "purl": "pkg:pypi/rsa@3.4",
    "type": "pypi",
    "namespace": "",
    "name": "rsa",
    "version": "3.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.7",
    "latest_non_vulnerable_version": "4.7",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35672?format=api",
            "vulnerability_id": "VCID-7kxr-m4ew-mba4",
            "summary": "It was found that python-rsa is vulnerable to Bleichenbacher timing attacks. An attacker can use this flaw via the RSA decryption API to decrypt parts of the cipher text encrypted with RSA.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25658",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25658"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xrx6-fmxq-rjj2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xrx6-fmxq-rjj2"
                },
                {
                    "reference_url": "https://github.com/sybrenstuvel/python-rsa/issues/165",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/sybrenstuvel/python-rsa/issues/165"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/18970?format=api",
                    "purl": "pkg:pypi/rsa@4.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rsa@4.7"
                }
            ],
            "aliases": [
                "CVE-2020-25658",
                "GHSA-xrx6-fmxq-rjj2",
                "PYSEC-2020-100"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7kxr-m4ew-mba4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35567?format=api",
            "vulnerability_id": "VCID-uwe5-3d7j-8qcr",
            "summary": "Python-RSA before 4.1 ignores leading '\\0' bytes during decryption of ciphertext. This could conceivably have a security-relevant impact, e.g., by helping an attacker to infer that an application uses Python-RSA, or if the length of accepted ciphertext affects application behavior (such as by causing excessive memory allocation).",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-537h-rv9q-vvph",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-537h-rv9q-vvph"
                },
                {
                    "reference_url": "https://github.com/sybrenstuvel/python-rsa/issues/146",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/sybrenstuvel/python-rsa/issues/146"
                },
                {
                    "reference_url": "https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4478-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4478-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16506?format=api",
                    "purl": "pkg:pypi/rsa@4.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-7kxr-m4ew-mba4"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rsa@4.1"
                }
            ],
            "aliases": [
                "CVE-2020-13757",
                "GHSA-537h-rv9q-vvph",
                "PYSEC-2020-99"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uwe5-3d7j-8qcr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rsa@3.4"
}