CVE-2021-25748CWE-20

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

High · published May 24, 2023

CVSS v3.1
7.6
EPSS
1%
Percentile
52.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00694 · 52.4th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2023-05-24T00:00Z
EPSS history
Timeline
  • 24 MAY 00:00Z
    Ingress-nginx `path` sanitization can be bypassed with newline character
    cvelistv5