CVE-2020-26290
Critical security issues in XML encoding in github.com/dexidp/dex
Overview
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).
Source: OX vulnerability database
Severity
9.6 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness: CWE-347
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/dexidp/dex | <2.27.0 | 2.27.0 |
| Go | github.com/russellhaering/goxmldsig | <1.1.0 | 1.1.0 |
Open a package to see all its vulnerabilities.
Operating systems · 3 fixes
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | dex-oidc | 2.28.1-1.3 | openSUSE-SU-2024:10714-1 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kots | not affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kots | not affected |
References
- github.com https://github.com/dexidp/dex/commit/324b1c886b407594196113a3dbddebe38eecd4e8
- github.com https://github.com/dexidp/dex/releases/tag/v2.27.0
- github.com https://github.com/dexidp/dex/security/advisories/GHSA-m9hp-7r99-94h5
- github.com https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-attributes.md
- github.com https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-directives.md
- github.com https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md
- github.com https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64
- github.com https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7
- mattermost.com https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities
- mattermost.com https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.