VDB

CVE-2020-29509

CVE-2020-29509 PUBLISHED CVSS 9.8 CRITICAL

Authentication Bypass in github.com/russellhaering/gosaml2

Reported by mattermost · Published December 14, 2020

github.com/russellhaering/gosaml2 is fixed in 0.6.0 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/russellhaering/gosaml2Go Modules0.6.0
goAlpine1.17-r0
goArch Linux2:1.17-1
golangBitnami1.17.0
mattermostArch Linux5.26.2-1
gogolang1.17
golangBitnami1.17.0

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
GolangGoAll versions
alpinego0
wolfigo-1.19*
wolfigo-fips-1.20*
archgo0
github.comrussellhaering/gosaml20
wolfigo-1.21*
archmattermost0
wolfigo-1.20*
chainguardgo-fips-1.20*
chainguardgo-1.21*
chainguardgo-1.20*
GolangGo*
chainguardgo-1.19*

Timeline

  • Dec 14, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 11, 2022 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 31, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-29509
vulnetix vdb fixes CVE-2020-29509

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-29509/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›