Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/10452?format=api",
    "purl": "pkg:pypi/owlmixin@1.0.0b7",
    "type": "pypi",
    "namespace": "",
    "name": "owlmixin",
    "version": "1.0.0b7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.0.0",
    "latest_non_vulnerable_version": "2.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35140?format=api",
            "vulnerability_id": "VCID-u7bd-sut3-9ud7",
            "summary": "An exploitable vulnerability exists in the YAML loading functionality of util.py in OwlMixin before 2.0.0a12. A \"Load YAML\" string or file (aka load_yaml or load_yamlf) can execute arbitrary Python commands resulting in command execution because load is used where safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-ccmq-qvcp-5mrm",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-ccmq-qvcp-5mrm"
                },
                {
                    "reference_url": "https://github.com/tadashi-aikawa/owlmixin/commit/5d0575303f6df869a515ced4285f24ba721e0d4e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tadashi-aikawa/owlmixin/commit/5d0575303f6df869a515ced4285f24ba721e0d4e"
                },
                {
                    "reference_url": "https://github.com/tadashi-aikawa/owlmixin/issues/12",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tadashi-aikawa/owlmixin/issues/12"
                },
                {
                    "reference_url": "https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16618-convert-through-owlmixin/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16618-convert-through-owlmixin/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10485?format=api",
                    "purl": "pkg:pypi/owlmixin@2.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/owlmixin@2.0.0"
                }
            ],
            "aliases": [
                "CVE-2017-16618",
                "GHSA-ccmq-qvcp-5mrm",
                "PYSEC-2017-22"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u7bd-sut3-9ud7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/owlmixin@1.0.0b7"
}