PoC Index85,079 CVEs with PoCs

CVE-2021-25748

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

MEDIUM 6.5EPSS 0.7%

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.

Affected
Kubernetes · Kubernetes ingress-nginx
CVSS v3.1 NVD
6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v3.1 LIGGITT
7.6 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
EPSS
0.69% chance of exploitation in the next 30 days, 52nd percentile
Published
2023-05-24
Updated
2025-01-16

Proof-of-concept exploits (1)

Security advisories

References

Related