Critical security issues in XML encoding in Dex
dexidp dex
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dexidp/dex Go |
|
|
| github.com/russellhaering/goxmldsig Go |
|
|
dexidp dex
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dexidp/dex Go |
|
|
| github.com/russellhaering/goxmldsig Go |
|
|
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).
From the CVE record · GitHub_M
Dex before 2.27.0 is vulnerable to a potential SAML signature bypass caused by XML encoding issues in an underlying Go library. The issue affects deployments using the SAML connector; the input does not specify attacker authentication requirements or whether user interaction is needed.
Engineers running Dex before 2.27.0 with the SAML connector, or using github.com/russellhaering/goxmldsig before 1.1.0, should check their deployments.