Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/9087?format=api",
    "purl": "pkg:pypi/rsa@1.1",
    "type": "pypi",
    "namespace": "",
    "name": "rsa",
    "version": "1.1",
    "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/34978?format=api",
            "vulnerability_id": "VCID-nr3r-6y8s-d7bv",
            "summary": "The verify function in the RSA package for Python (Python-RSA) before 3.3 allows attackers to spoof signatures with a small public exponent via crafted signature padding, aka a BERserk attack.",
            "references": [
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175897.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175897.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175942.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175942.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2016-01/msg00032.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-updates/2016-01/msg00032.html"
                },
                {
                    "reference_url": "https://bitbucket.org/sybren/python-rsa/pull-requests/14/security-fix-bb06-attack-in-verify-by/diff",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bitbucket.org/sybren/python-rsa/pull-requests/14/security-fix-bb06-attack-in-verify-by/diff"
                },
                {
                    "reference_url": "https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa"
                },
                {
                    "reference_url": "https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa/"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2016-10.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2016-10.yaml"
                },
                {
                    "reference_url": "https://github.com/sybrenstuvel/python-rsa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/sybrenstuvel/python-rsa"
                },
                {
                    "reference_url": "https://github.com/sybrenstuvel/python-rsa/commit/ab5d21c3b554f926d51ff3ad9c794bcf32e95b3c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/sybrenstuvel/python-rsa/commit/ab5d21c3b554f926d51ff3ad9c794bcf32e95b3c"
                },
                {
                    "reference_url": "https://web.archive.org/web/20210123020914/http://www.securityfocus.com/bid/79829",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20210123020914/http://www.securityfocus.com/bid/79829"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2016/01/05/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2016/01/05/1"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2016/01/05/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2016/01/05/3"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/79829",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/79829"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1494",
                    "reference_id": "CVE-2016-1494",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1494"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8rjr-6qq5-pj9p",
                    "reference_id": "GHSA-8rjr-6qq5-pj9p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8rjr-6qq5-pj9p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9105?format=api",
                    "purl": "pkg:pypi/rsa@3.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-7kxr-m4ew-mba4"
                        },
                        {
                            "vulnerability": "VCID-uwe5-3d7j-8qcr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rsa@3.3"
                }
            ],
            "aliases": [
                "CVE-2016-1494",
                "GHSA-8rjr-6qq5-pj9p",
                "PYSEC-2016-10"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nr3r-6y8s-d7bv"
        },
        {
            "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@1.1"
}