Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52534?format=api",
    "vulnerability_id": "VCID-caea-y5bm-zked",
    "summary": "Improper Authentication\nIn Saml2 Authentication Services for ASP.NET, and between, there is a vulnerability in how tokens are validated in some cases. Saml2 tokens are usually used as bearer tokens - a caller that presents a token is assumed to be the subject of the token. There is also support in the Saml2 protocol for issuing tokens that is tied to a subject through other means, e.g. holder-of-key where possession of a private key must be proved. The Sustainsys.Saml2 library incorrectly treats all incoming tokens as bearer tokens, even though they have another subject confirmation method specified. This could be used by an attacker that could get access to Saml2 tokens with another subject confirmation method than bearer. The attacker could then use such a token to create a log in session.",
    "aliases": [
        {
            "alias": "CVE-2020-5268"
        },
        {
            "alias": "GHSA-9475-xg6m-j7pw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77141?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/253399?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.0.0-preview01",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.0.0-preview01"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77142?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.7.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/253395?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@0.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@0.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/253396?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@0.24.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@0.24.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/253397?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/253398?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67058?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-pbyw-b4bw-uuhk"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/250893?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-pbyw-b4bw-uuhk"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/250894?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-pbyw-b4bw-uuhk"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/250895?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-pbyw-b4bw-uuhk"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/250896?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-pbyw-b4bw-uuhk"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76965?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/253400?format=api",
            "purl": "pkg:nuget/Sustainsys.Saml2@2.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-caea-y5bm-zked"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Sustainsys.Saml2@2.6.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-5268",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00295",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53151",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00295",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53114",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.00295",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5314",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.00295",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53159",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00295",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53089",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-5268"
        },
        {
            "reference_url": "https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241"
        },
        {
            "reference_url": "https://github.com/Sustainsys/Saml2/issues/712",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/Sustainsys/Saml2/issues/712"
        },
        {
            "reference_url": "https://www.nuget.org/packages/Sustainsys.Saml2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.nuget.org/packages/Sustainsys.Saml2"
        },
        {
            "reference_url": "https://www.nuget.org/packages/Sustainsys.Saml2/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.nuget.org/packages/Sustainsys.Saml2/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5268",
            "reference_id": "CVE-2020-5268",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5268"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9475-xg6m-j7pw",
            "reference_id": "GHSA-9475-xg6m-j7pw",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9475-xg6m-j7pw"
        },
        {
            "reference_url": "https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw",
            "reference_id": "GHSA-9475-xg6m-j7pw",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw"
        }
    ],
    "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": 287,
            "name": "Improper Authentication",
            "description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
        },
        {
            "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."
        },
        {
            "cwe_id": 303,
            "name": "Incorrect Implementation of Authentication Algorithm",
            "description": "The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-caea-y5bm-zked"
}