{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-29509","id":"CVE-2020-29509","title":"Authentication Bypass in github.com/russellhaering/gosaml2","description":"The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.","descriptionLong":"The encoding/xml package in Go (all versions) does not correctly preserve the semantics of attribute namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.","published":"2020-12-14T20:02:02.448Z","updated":"2026-10-24T10:30:56.401585045Z","reserved":"2020-12-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Mattermost"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Mattermost"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"mattermost.com"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"critical","products":["Golang Go"],"affectedProducts":[{"vendor":"Golang","product":"Go","defaultStatus":null,"versions":[{"status":"affected","version":"All versions"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/russellhaering/gosaml2","purl":"pkg:golang/github.com/russellhaering/gosaml2","ranges":["<0.6.0"],"fixed":["0.6.0"],"advisory":"GHSA-xhqq-x44f-9fgg"}],"cwes":["CWE-115"],"aliases":["BIT-golang-2020-29509","GHSA-xhqq-x44f-9fgg","GO-2021-0060"],"references":[{"url":"https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210129-0006/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/russellhaering/gosaml2/security/advisories/GHSA-xhqq-x44f-9fgg","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29509","tags":["advisory"]},{"url":"https://github.com/russellhaering/gosaml2/commit/42606dafba60c58c458f14f75c4c230459672ab9","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0060","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20210129-0006","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02099,"epssPercentile":0.82097,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-29509","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29509","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-29509","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xhqq-x44f-9fgg","ok":true,"note":"GHSA-xhqq-x44f-9fgg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-29509","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}