Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68448?format=api",
    "purl": "pkg:nuget/Microsoft.Data.SqlClient@5.0.0",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.Data.SqlClient",
    "version": "5.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.1.7",
    "latest_non_vulnerable_version": "5.1.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46802?format=api",
            "vulnerability_id": "VCID-8ev4-5sng-2kbt",
            "summary": "Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass\nMicrosoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability",
            "references": [
                {
                    "reference_url": "https://github.com/dotnet/announcements/issues/292",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/announcements/issues/292"
                },
                {
                    "reference_url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056",
                    "reference_id": "CVE-2024-0056",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-0056"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0056",
                    "reference_id": "CVE-2024-0056",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0056"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-98g6-xh36-x2p7",
                    "reference_id": "GHSA-98g6-xh36-x2p7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-98g6-xh36-x2p7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68452?format=api",
                    "purl": "pkg:nuget/Microsoft.Data.SqlClient@5.1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@5.1.3"
                }
            ],
            "aliases": [
                "CVE-2024-0056",
                "GHSA-98g6-xh36-x2p7"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8ev4-5sng-2kbt"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@5.0.0"
}