{"id":"CVE-2020-36563","aliases":["EUVD-2022-7517","GHSA-5rhg-xhgr-5hfj","GO-2020-0047"],"status":"published","title":"Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml","description":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00316,"percentile":0.24694,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-347"],"published":"2021-04-14T20:04:52Z","modified":"2026-06-17T03:15:44Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/RobotsAndPencils/go-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.0-20170520135329-fb13cb52a46b"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/RobotsAndPencils/go-saml","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.0-20170520135329-fb13cb52a46b"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/RobotsAndPencils/go-saml","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"github.com/robotsandpencils/go-saml","product":"github.com/robotsandpencils/go-saml"},{"vendor":"robotsandpencils","product":"go-saml"}],"references":[{"url":"https://github.com/RobotsAndPencils/go-saml/pull/38","tags":["x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0047","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36563","tags":["advisory"]},{"url":"https://github.com/RobotsAndPencils/go-saml/commit/4a1b1f5752a029e171965e0510a425d0fdd1eced","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5rhg-xhgr-5hfj"},{"url":"https://github.com/RobotsAndPencils/go-saml","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36563","title":"Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml","description":"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.","status":"published","published":"2022-12-27T21:13:29.296Z","modified":"2025-04-11T16:37:19.193Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"adp"}],"updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2022-7517","description":"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.","status":"published","published":"2022-12-27T21:13:29Z","modified":"2025-04-11T16:37:19Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:34.493984Z"}],"ghsa":[{"id":"GHSA-5rhg-xhgr-5hfj","title":"go-saml's XML Digital Signatures use SHA-1","description":"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.","status":"published","published":"2022-12-28T03:30:28Z","modified":"2024-05-20T19:43:48Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2020-36563","description":"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.","status":"published","published":"2022-12-28T03:15:09.56Z","modified":"2026-06-17T03:15:44.717Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:06:47.286386Z"}],"osv":[{"id":"GHSA-5rhg-xhgr-5hfj","title":"go-saml's XML Digital Signatures use SHA-1","description":"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.","status":"published","published":"2022-12-28T03:30:28Z","modified":"2025-04-11T23:46:44Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"GO-2020-0047","title":"Weak hash (SHA-1) in github.com/RobotsAndPencils/go-saml","description":"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.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
