Vulnerability · Published Mar 24, 2025 · Assigned by kubernetes

CVE-2025-1097ingress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation

High 8.8

In plain English

A high-severity improper input validation in ingress-nginx from kubernetes. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 37.0% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)37.0%top 1.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Nuclei, Public PoC

Official description

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-cn` Ingress annotation can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gok8s.io/ingress-nginx1.11.5GHSA-823x-fv5p-h7hw
Gok8s.io/ingress-nginx1.12.1GHSA-823x-fv5p-h7hw
Gok8s.io/ingress-nginxno fix listedGO-2025-3565

Affected products (as reported)

VendorProductVersions
kubernetes ingress-nginx 0 – through 1.11.41.12.0

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References