VYPR
Moderate severityNVD Advisory· Published May 24, 2023· Updated Jan 16, 2025

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

CVE-2021-25748

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
k8s.io/ingress-nginxGo
< 1.2.11.2.1

Affected products

17

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.