{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2020-36563",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2022-07-29T18:37:18.341Z",
        "datePublished": "2022-12-27T21:13:29.296Z",
        "dateUpdated": "2024-08-04T17:30:08.406Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2023-06-12T19:04:02.597Z"
            },
            "title": "Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "XML Digital Signatures generated and validated using this package use SHA-1, which may allow an attacker to craft inputs which cause hash collisions depending on their control over the input."
                }
            ],
            "affected": [
                {
                    "vendor": "github.com/RobotsAndPencils/go-saml",
                    "product": "github.com/RobotsAndPencils/go-saml",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "github.com/RobotsAndPencils/go-saml",
                    "programRoutines": [
                        {
                            "name": "AuthnRequest.Validate"
                        },
                        {
                            "name": "NewAuthnRequest"
                        },
                        {
                            "name": "NewSignedResponse"
                        },
                        {
                            "name": "ServiceProviderSettings.GetAuthnRequest"
                        }
                    ],
                    "defaultStatus": "affected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE 328: Use of Weak Hash"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/RobotsAndPencils/go-saml/pull/38"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2020-0047"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T17:30:08.406Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/RobotsAndPencils/go-saml/pull/38",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://pkg.go.dev/vuln/GO-2020-0047",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}