# CVE-2020-29509: GO-2021-0060 - Authentication bypass in github.com/russellhaering/gosaml2

Source: https://junglewise.ai/threats/cve-2020-29509-authentication-bypass-in-github-com-russellhaering-gosaml2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2020-29509 · Severity: low · CVSS 3.1 · Published 2021-04-14

Authentication bypass in github.com/russellhaering/gosaml2

Technologies: [github.com/russellhaering/gosaml2 (Go)](https://junglewise.ai/threats/technologies/github-com-russellhaering-gosaml2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-29509 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-29509 being exploited in the wild.

**How severe is CVE-2020-29509?** Low severity, with a CVSS score of 3.1, published 14 April 2021.

**Which products and versions are affected?** github.com/russellhaering/gosaml2 (Go) SEMVER:introduced=0,fixed=0.6.0.

**Is there a fix for CVE-2020-29509?** Yes. github.com/russellhaering/gosaml2 (Go): upgrade to 0.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-29509?** Check whether you run github.com/russellhaering/gosaml2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/russellhaering/gosaml2 (Go): upgrade to 0.6.0 or later

  ```sh
  go get github.com/russellhaering/gosaml2@v0.6.0
  ```


## Affected products

- github.com/russellhaering/gosaml2 (Go) SEMVER:introduced=0,fixed=0.6.0

## Identifiers

- CVE-2020-29509
- GHSA-xhqq-x44f-9fgg
- GO-2021-0060

## Related threats

- [GO-2026-4760 - CBC Padding Panic , Unauthenticated Process Crash in github.com/russellhaering/gosaml2](https://junglewise.ai/threats/go-2026-4760-cbc-padding-panic-unauthenticated-process-crash-in-github-55e5dadf)
- [GO-2026-4764 - Unsigned SAML LogoutRequest Acceptance in gosaml2 in github.com/russellhaering/gosaml2](https://junglewise.ai/threats/go-2026-4764-unsigned-saml-logoutrequest-acceptance-in-gosaml2-in-6db71f2a)
- [Unsigned SAML LogoutRequest Acceptance in gosaml2](https://junglewise.ai/threats/unsigned-saml-logoutrequest-acceptance-in-gosaml2-7f4881c4)
- [gosaml2 CBC Padding Panic , Unauthenticated Process Crash](https://junglewise.ai/threats/gosaml2-cbc-padding-panic-unauthenticated-process-crash-d48b217d)
- [GO-2023-1602 - Denial of service via deflate decompression bomb in github.com/russellhaering/gosaml2](https://junglewise.ai/threats/cve-2023-26483-gosaml2-vulnerable-to-denial-of-service-via-deflate-decompression)
