cve.bz

CVE-2021-25748

6.5 mediumEPSS 0.7%

Medium (6.5) in kubernetes ingress-nginx. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in k8s.io/ingress-nginx 1.2.1.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 52% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-863x-868h-968xGok8s.io/ingress-nginx<1.2.11.2.1

References

Check your stackJSON