Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58669?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.All@5.0.8",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.All",
    "version": "5.0.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.0.9",
    "latest_non_vulnerable_version": "5.0.9",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7013?format=api",
            "vulnerability_id": "VCID-w8qv-heb5-87fd",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://github.com/dotnet/announcements/issues/195",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/announcements/issues/195"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2277",
                    "reference_id": "AVG-2277",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2277"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34532",
                    "reference_id": "CVE-2021-34532",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34532"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-34532",
                    "reference_id": "CVE-2021-34532",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-34532"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q7cg-43mg-qp69",
                    "reference_id": "GHSA-q7cg-43mg-qp69",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q7cg-43mg-qp69"
                },
                {
                    "reference_url": "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-q7cg-43mg-qp69",
                    "reference_id": "GHSA-q7cg-43mg-qp69",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-q7cg-43mg-qp69"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58672?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.All@5.0.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@5.0.9"
                }
            ],
            "aliases": [
                "CVE-2021-34532",
                "GHSA-q7cg-43mg-qp69"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w8qv-heb5-87fd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@5.0.8"
}