{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-39171",
        "STATE": "PUBLIC",
        "TITLE": "Unlimited transforms allowed for signed nodes"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "passport-saml",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 3.1.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "node-saml"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Passport-SAML is a SAML 2.0 authentication provider for Passport, the Node.js authentication library. Prior to version 3.1.0, a malicious SAML payload can require transforms that consume significant system resources to process, thereby resulting in reduced or denied service. This would be an effective way to perform a denial-of-service attack. This has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-400: Uncontrolled Resource Consumption"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2",
                "refsource": "CONFIRM",
                "url": "https://github.com/node-saml/passport-saml/security/advisories/GHSA-5379-r78w-42h2"
            },
            {
                "name": "https://github.com/node-saml/passport-saml/pull/595",
                "refsource": "MISC",
                "url": "https://github.com/node-saml/passport-saml/pull/595"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-5379-r78w-42h2",
        "discovery": "UNKNOWN"
    }
}