logo

CVE-2021-25748 k8s.io/ingress-nginx

Package

Manager: go
Name: k8s.io/ingress-nginx
Vulnerable Version: >=0 <1.2.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00041 pctl0.11272

Details

Ingress-nginx `path` sanitization can be bypassed with newline character 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.

Metadata

Created: 2023-05-24T18:30:26Z
Modified: 2023-06-02T23:35:19Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-863x-868h-968x/GHSA-863x-868h-968x.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-863x-868h-968x
Finding: F184
Auto approve: 1