Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/19916?format=api",
    "purl": "pkg:pypi/nfstream@3.2.1",
    "type": "pypi",
    "namespace": "",
    "name": "nfstream",
    "version": "3.2.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.0.0",
    "latest_non_vulnerable_version": "6.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35723?format=api",
            "vulnerability_id": "VCID-uhc2-xd39-9ybp",
            "summary": "An issue was discovered in NFStream 5.2.0. Because some allocated modules are not correctly freed, if the nfstream object is directly destroyed without being used after it is created, it will cause a memory leak that may result in a local denial of service (DoS).",
            "references": [
                {
                    "reference_url": "https://github.com/ntop/nDPI/issues/994",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ntop/nDPI/issues/994"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19929?format=api",
                    "purl": "pkg:pypi/nfstream@6.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nfstream@6.0.0"
                }
            ],
            "aliases": [
                "CVE-2020-25340",
                "PYSEC-2021-68"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uhc2-xd39-9ybp"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nfstream@3.2.1"
}