GitHub Advisoryadvisory · Go
GHSA-jh6m-3pqw-242h Keycloak Gatekeeper vulnerable to bypass on using lower case HTTP headers
HIGH
Official page ↗
- Aliases
- CVE-2020-14359
- Ecosystem
- Go
- Packages
- github.com/keycloak/keycloak-gatekeeper
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-305
- Reviewed
- 2021-04-01
Affected packages
• Go github.com/keycloak/keycloak-gatekeeper: <= 1.2.8 (no fix yet)
Description
A vulnerability was found in all versions of the deprecated package Keycloak Gatekeeper, where on using lower case HTTP headers (via cURL) we can bypass our Gatekeeper. Lower case headers are also accepted by some webservers (e.g. Jetty). This means there is no protection when we put a Gatekeeper in front of a Jetty server and use lowercase headers.
Related
Alias · CVE (1)
- CVE-2020-14359 A vulnerability was found in all versions of Keycloak Gatekeeper, where on using lower case HTTP headers (via cURL) an attacker can bypass… vulnerability
Weakness · CWE (1)
- CWE-305 Authentication Bypass by Primary Weakness weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-14359 advisory
- https://github.com/keycloak/keycloak/issues/12934 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1868591 web
- https://github.com/keycloak/keycloak-gatekeeper package
- https://issues.jboss.org/browse/KEYCLOAK-14090 web
- https://web.archive.org/web/20190613000352/github.com/keycloak/keycloak-gatekeeper web