CVE-2020-26290
Critical security issues in XML encoding in github.com/dexidp/dex
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Dex is a federated OpenID Connect provider written in Go. In Dex before version 2.27.0 there is a critical set of vulnerabilities which impacts users leveraging the SAML connector. The vulnerabilities enables potential signature bypass due to issues with XML encoding in the underlying Go library. The vulnerabilities have been addressed in version 2.27.0 by using the xml-roundtrip-validator from Mattermost (see related references).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/dexidp/dex, github.com/russellhaering/goxmldsig | 2.27.0 and 1 more |
| chainguard | kots | 0 |
| rapidfort alpine 3.20 | dex | no fix listed |
| rapidfort alpine 3.21 | dex | no fix listed |
| rapidfort alpine 3.22 | dex | no fix listed |
| rapidfort alpine 3.23 | dex | no fix listed |
| rapidfort alpine 3.24 | dex | no fix listed |
| wolfi | kots | 0 |
Show all 9 entries from 8 sources
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/dexidp/dex | 2.27.0 |
| go::GitHub Security Advisory Go | github.com/russellhaering/goxmldsig | 1.1.0 |
| chainguard | kots | 0 |
| rapidfort alpine 3.20 | dex | no fix listed |
| rapidfort alpine 3.21 | dex | no fix listed |
| rapidfort alpine 3.22 | dex | no fix listed |
| rapidfort alpine 3.23 | dex | no fix listed |
| rapidfort alpine 3.24 | dex | no fix listed |
| wolfi | kots | 0 |
References
- https://github.com/dexidp/dex/commit/324b1c886b407594196113a3dbddebe38eecd4e8
- https://github.com/dexidp/dex/releases/tag/v2.27.0
- https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md
- https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md
- https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64
- https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7