Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-29509 BIT-golang-2020-29509EUVD-2022-1254GHSA-xhqq-x44f-9fggGO-2021-0060

Authentication Bypass in github.com/russellhaering/gosaml2

Published Dec 14, 2020 · Updated Sep 17, 2024 · Assigned by Mattermost

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.

Affected products

VendorProductAffectedFixed
Golang Go All versions —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 golang-1.15 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-1.13 +1 No fix yet —
Ubuntu 18.04 LTS golang-1.8 +2 No fix yet —
Ubuntu 16.04 LTS golang-1.6 +1 No fix yet —
Ubuntu 14.04 LTS golang-1.10 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS golang-1.13 No fix yet —
Ubuntu Pro 18.04 LTS golang-1.13 No fix yet —
Ubuntu Pro 16.04 LTS golang-1.13 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 go 1.17-r0 —
Alpine v3.23 go 1.17-r0 —
Alpine v3.22 go 1.17-r0 —
Alpine v3.21 go 1.17-r0 —
Alpine v3.20 go 1.17-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 go 1.17-r0 —
Alpine v3.18 go 1.17-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 golang No fix yet —
Azure Linux 2 (CBL-Mariner) golang 1.20.10-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/russellhaering/gosaml2 < 0.6.0 0.6.0 GHSA-xhqq-x44f-9fgg

Advisories 1

References