Lookup for vulnerabilities affecting packages.

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

{
    "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",
    "aliases": [
        {
            "alias": "CVE-2024-0056"
        },
        {
            "alias": "GHSA-98g6-xh36-x2p7"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68449?format=api",
            "purl": "pkg:nuget/Microsoft.Data.SqlClient@2.1.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@2.1.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68450?format=api",
            "purl": "pkg:nuget/Microsoft.Data.SqlClient@3.1.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@3.1.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68451?format=api",
            "purl": "pkg:nuget/Microsoft.Data.SqlClient@4.0.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@4.0.5"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68471?format=api",
            "purl": "pkg:nuget/System.Data.SqlClient@4.8.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.Data.SqlClient@4.8.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68446?format=api",
            "purl": "pkg:nuget/Microsoft.Data.SqlClient@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8ev4-5sng-2kbt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68447?format=api",
            "purl": "pkg:nuget/Microsoft.Data.SqlClient@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8ev4-5sng-2kbt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68448?format=api",
            "purl": "pkg:nuget/Microsoft.Data.SqlClient@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8ev4-5sng-2kbt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.Data.SqlClient@5.0.0"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8ev4-5sng-2kbt"
}