GitHub Advisoryadvisory · Go

GHSA-jh6m-3pqw-242h Keycloak Gatekeeper vulnerable to bypass on using lower case HTTP headers

HIGH Published 2022-02-09 Modified 2022-08-12 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