Search criteria

1 vulnerability by github.com/RobotsAndPencils/go-saml

CVE-2020-36563 (GCVE-0-2020-36563)

Vulnerability from cvelistv5 – Published: 2022-12-27 21:13 – Updated: 2025-04-11 16:37
VLAI?
Title
Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml
Summary
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.
CWE
  • CWE 328: Use of Weak Hash
Assigner
Go
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T17:30:08.406Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://github.com/RobotsAndPencils/go-saml/pull/38"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2020-0047"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 5.3,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2020-36563",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-04-11T16:36:49.594277Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-04-11T16:37:19.193Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "affected",
          "packageName": "github.com/RobotsAndPencils/go-saml",
          "product": "github.com/RobotsAndPencils/go-saml",
          "programRoutines": [
            {
              "name": "AuthnRequest.Validate"
            },
            {
              "name": "NewAuthnRequest"
            },
            {
              "name": "NewSignedResponse"
            },
            {
              "name": "ServiceProviderSettings.GetAuthnRequest"
            }
          ],
          "vendor": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE 328: Use of Weak Hash",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-06-12T19:04:02.597Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://github.com/RobotsAndPencils/go-saml/pull/38"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2020-0047"
        }
      ],
      "title": "Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2020-36563",
    "datePublished": "2022-12-27T21:13:29.296Z",
    "dateReserved": "2022-07-29T18:37:18.341Z",
    "dateUpdated": "2025-04-11T16:37:19.193Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}