CVE-2020-27847 — dex
CRITICALCVE-2020-27847 is a critical-severity (CVSS 9.8) CWE-228 vulnerability in github.com/dexidp/dex. A fix is available for github.com/dexidp/dex — see the affected versions and patch details below.
Authentication Bypass in dex
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/dexidp/dexReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A vulnerability exists in the SAML connector of the github.com/dexidp/dex library used to process SAML Signature Validation. This flaw allows an attacker to bypass SAML authentication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. This flaw affects dex versions before 2.27.0.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/dexidp/dex | all versions | 2.27.0go get github.com/dexidp/dex@v2.27.0 |
Affected Products
dexlinuxfoundationDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/dexidp/dex, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/dexidp/dex to 2.27.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-27847 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2020-27847 in your dependencies?
Find it across Go, including transitive dependencies.