Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53551?format=api",
    "purl": "pkg:nuget/Microsoft.AspNet.Mvc@1.1.2",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNet.Mvc",
    "version": "1.1.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.1.3",
    "latest_non_vulnerable_version": "5.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38601?format=api",
            "vulnerability_id": "VCID-8vja-gk61-dfbg",
            "summary": "Improper Input Validation\nAn elevation of privilege vulnerability exists when the ASP.NET Core fails to properly sanitize web requests.",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/239",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/239"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0249",
                    "reference_id": "CVE-2017-0249",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0249"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qhqf-ghgh-x2m4",
                    "reference_id": "GHSA-qhqf-ghgh-x2m4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qhqf-ghgh-x2m4"
                },
                {
                    "reference_url": "https://github.com/Aiko-IT-Systems/DisCatSharp/security/advisories/GHSA-wj4j-gr3f-cfh7",
                    "reference_id": "GHSA-wj4j-gr3f-cfh7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Aiko-IT-Systems/DisCatSharp/security/advisories/GHSA-wj4j-gr3f-cfh7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53552?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNet.Mvc@3.0.20105.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNet.Mvc@3.0.20105.1"
                }
            ],
            "aliases": [
                "CVE-2017-0249",
                "GHSA-qhqf-ghgh-x2m4"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8vja-gk61-dfbg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38607?format=api",
            "vulnerability_id": "VCID-un5f-u2uy-vuht",
            "summary": "Improper Input Validation\nA spoofing vulnerability exists when the ASP.NET Core fails to properly sanitize web requests.",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/239",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/239"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0256",
                    "reference_id": "CVE-2017-0256",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0256"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j8f4-2w4p-mhjc",
                    "reference_id": "GHSA-j8f4-2w4p-mhjc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-j8f4-2w4p-mhjc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53552?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNet.Mvc@3.0.20105.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNet.Mvc@3.0.20105.1"
                }
            ],
            "aliases": [
                "CVE-2017-0256",
                "GHSA-j8f4-2w4p-mhjc"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-un5f-u2uy-vuht"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNet.Mvc@1.1.2"
}