← Übersicht Ingress-NGINX

Ingress-nginx `path` sanitization can be bypassed with newline character

CVE-2021-25748 · GHSA-863x-868h-968x

Hoch · CVSS 7.6 Netzwerk · mit Login Fix verfügbar

Veröffentlicht
10.06.2022 18:01
Zuletzt geändert
07.08.2026
EPSS (30 Tage)
0.7 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Beschreibung

Originaltext der Quelle, nicht übersetzt.

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of the `spec.rules[].http.paths[].path` field of an Ingress object (in the `networking.k8s.io` or `extensions` API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.

Betroffene Pakete im beobachteten Stack

Gok8s.io/ingress-nginx1.2.1GHSA-863x-868h-968x
NVDkubernetes:ingress-nginx1.2.1CVE-2021-25748
Weitere betroffene Pakete (1)
CVEKubernetes/Kubernetes ingress-nginx1.2.1CVE-2021-25748

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.