Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/9776?format=api",
    "purl": "pkg:pypi/cfscrape@1.6.7",
    "type": "pypi",
    "namespace": "",
    "name": "cfscrape",
    "version": "1.6.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.8.0",
    "latest_non_vulnerable_version": "1.8.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35041?format=api",
            "vulnerability_id": "VCID-zkbw-bwvy-73hy",
            "summary": "An issue was discovered in cloudflare-scrape 1.6.6 through 1.7.1. A malicious website owner could craft a page that executes arbitrary Python code against any cfscrape user who scrapes that website. This is fixed in 1.8.0.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-5mc5-5j6c-qmf9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5mc5-5j6c-qmf9"
                },
                {
                    "reference_url": "https://github.com/Anorov/cloudflare-scrape",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Anorov/cloudflare-scrape"
                },
                {
                    "reference_url": "https://github.com/Anorov/cloudflare-scrape/issues/97",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Anorov/cloudflare-scrape/issues/97"
                },
                {
                    "reference_url": "https://github.com/Anorov/cloudflare-scrape/releases/tag/1.8.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Anorov/cloudflare-scrape/releases/tag/1.8.0"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/cfscrape/PYSEC-2017-7.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/cfscrape/PYSEC-2017-7.yaml"
                },
                {
                    "reference_url": "https://web.archive.org/web/20170701161512/http://www.securityfocus.com/bid/97191",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20170701161512/http://www.securityfocus.com/bid/97191"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/97191",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/97191"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7235",
                    "reference_id": "CVE-2017-7235",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7235"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/9780?format=api",
                    "purl": "pkg:pypi/cfscrape@1.8.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.8.0"
                }
            ],
            "aliases": [
                "CVE-2017-7235",
                "GHSA-5mc5-5j6c-qmf9",
                "PYSEC-2017-7"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zkbw-bwvy-73hy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.6.7"
}