Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/10546?format=api",
    "purl": "pkg:pypi/recurly@2.4.2",
    "type": "pypi",
    "namespace": "",
    "name": "recurly",
    "version": "2.4.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.4.5",
    "latest_non_vulnerable_version": "2.6.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35144?format=api",
            "vulnerability_id": "VCID-gt4d-yrah-hqcy",
            "summary": "The Recurly Client Python Library before 2.0.5, 2.1.16, 2.2.22, 2.3.1, 2.4.5, 2.5.1, 2.6.2 is vulnerable to a Server-Side Request Forgery vulnerability in the \"Resource.get\" method that could result in compromise of API keys or other critical resources.",
            "references": [
                {
                    "reference_url": "https://dev.recurly.com/page/python-updates",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://dev.recurly.com/page/python-updates"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-38rv-5jqc-m2cv",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-38rv-5jqc-m2cv"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/recurly/PYSEC-2017-68.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/recurly/PYSEC-2017-68.yaml"
                },
                {
                    "reference_url": "https://github.com/recurly/recurly-client-python/commit/049c74699ce93cf126feff06d632ea63fba36742",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/recurly/recurly-client-python/commit/049c74699ce93cf126feff06d632ea63fba36742"
                },
                {
                    "reference_url": "https://hackerone.com/reports/288635",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hackerone.com/reports/288635"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0906",
                    "reference_id": "CVE-2017-0906",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0906"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10556?format=api",
                    "purl": "pkg:pypi/recurly@2.4.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/recurly@2.4.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10557?format=api",
                    "purl": "pkg:pypi/recurly@2.5.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/recurly@2.5.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10558?format=api",
                    "purl": "pkg:pypi/recurly@2.6.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/recurly@2.6.2"
                }
            ],
            "aliases": [
                "CVE-2017-0906",
                "GHSA-38rv-5jqc-m2cv",
                "PYSEC-2017-68"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gt4d-yrah-hqcy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/recurly@2.4.2"
}