GHSA-jh6m-3pqw-242h
Keycloak Gatekeeper vulnerable to bypass on using lower case HTTP headers
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/keycloak/keycloak-gatekeeper | <= 1.2.8 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-14359
- https://github.com/keycloak/keycloak/issues/12934
- https://bugzilla.redhat.com/show_bug.cgi?id=1868591
- https://github.com/keycloak/keycloak-gatekeeper
- https://issues.jboss.org/browse/KEYCLOAK-14090
- https://web.archive.org/web/20190613000352/github.com/keycloak/keycloak-gatekeeper