Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/13770?format=api",
    "purl": "pkg:pypi/ladon@0.9.40",
    "type": "pypi",
    "namespace": "",
    "name": "ladon",
    "version": "0.9.40",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.0.0",
    "latest_non_vulnerable_version": "1.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35379?format=api",
            "vulnerability_id": "VCID-5yz3-8ygc-eydj",
            "summary": "Ladon since 0.6.1 (since ebef0aae48af78c159b6fce81bc6f5e7e0ddb059) is affected by: XML External Entity (XXE). The impact is: Information Disclosure, reading files and reaching internal network endpoints. The component is: SOAP request handlers. For instance: https://bitbucket.org/jakobsg/ladon/src/42944fc012a3a48214791c120ee5619434505067/src/ladon/interfaces/soap.py#lines-688. The attack vector is: Send a specially crafted SOAP call.",
            "references": [
                {
                    "reference_url": "https://bitbucket.org/jakobsg/ladon/src/42944fc012a3a48214791c120ee5619434505067/src/ladon/interfaces/soap.py#lines-688",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bitbucket.org/jakobsg/ladon/src/42944fc012a3a48214791c120ee5619434505067/src/ladon/interfaces/soap.py#lines-688"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vg35-vc9f-q7x2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vg35-vc9f-q7x2"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/43113",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/43113"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13771?format=api",
                    "purl": "pkg:pypi/ladon@1.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ladon@1.0.0"
                }
            ],
            "aliases": [
                "CVE-2019-1010268",
                "GHSA-vg35-vc9f-q7x2",
                "PYSEC-2019-184"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5yz3-8ygc-eydj"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ladon@0.9.40"
}