Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2017-7235"
        },
        {
            "alias": "GHSA-5mc5-5j6c-qmf9"
        },
        {
            "alias": "PYSEC-2017-7"
        }
    ],
    "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9775?format=api",
            "purl": "pkg:pypi/cfscrape@1.6.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zkbw-bwvy-73hy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.6.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9776?format=api",
            "purl": "pkg:pypi/cfscrape@1.6.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zkbw-bwvy-73hy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.6.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9777?format=api",
            "purl": "pkg:pypi/cfscrape@1.6.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zkbw-bwvy-73hy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.6.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9778?format=api",
            "purl": "pkg:pypi/cfscrape@1.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zkbw-bwvy-73hy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9779?format=api",
            "purl": "pkg:pypi/cfscrape@1.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zkbw-bwvy-73hy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cfscrape@1.7.1"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zkbw-bwvy-73hy"
}