Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41877?format=api",
    "vulnerability_id": "VCID-b1wy-4qp2-f7hp",
    "summary": "Improper Privilege Management\nASP.NET Core and Visual Studio Elevation of Privilege Vulnerability",
    "aliases": [
        {
            "alias": "CVE-2021-43877"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58666?format=api",
            "purl": "pkg:nuget/Microsoft.AspNetCore.All@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-b1wy-4qp2-f7hp"
                },
                {
                    "vulnerability": "VCID-w8qv-heb5-87fd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58668?format=api",
            "purl": "pkg:nuget/Microsoft.AspNetCore.All@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-b1wy-4qp2-f7hp"
                },
                {
                    "vulnerability": "VCID-w8qv-heb5-87fd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@5.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59844?format=api",
            "purl": "pkg:nuget/Microsoft.AspNetCore.All@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-b1wy-4qp2-f7hp"
                },
                {
                    "vulnerability": "VCID-y4a2-mamb-yqg6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@6.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43877",
            "reference_id": "CVE-2021-43877",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43877"
        },
        {
            "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-43877",
            "reference_id": "CVE-2021-43877",
            "reference_type": "",
            "scores": [],
            "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-43877"
        }
    ],
    "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-b1wy-4qp2-f7hp"
}