Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57171?format=api",
    "purl": "pkg:pypi/ymlref@0.1.1",
    "type": "pypi",
    "namespace": "",
    "name": "ymlref",
    "version": "0.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35298?format=api",
            "vulnerability_id": "VCID-mzbm-q7ff-gfcy",
            "summary": "ymlref allows code injection.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-8r8j-xvfj-36f9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8r8j-xvfj-36f9"
                },
                {
                    "reference_url": "https://github.com/dexter2206/ymlref",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dexter2206/ymlref"
                },
                {
                    "reference_url": "https://github.com/dexter2206/ymlref/issues/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dexter2206/ymlref/issues/2"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ymlref/PYSEC-2018-103.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ymlref/PYSEC-2018-103.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20133",
                    "reference_id": "CVE-2018-20133",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20133"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-20133",
                "GHSA-8r8j-xvfj-36f9",
                "PYSEC-2018-103"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mzbm-q7ff-gfcy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ymlref@0.1.1"
}