Improper Input Validation Affecting github.com/kubernetes/ingress-nginx/rootfs/etc/nginx/template package, versions <1.11.5>=1.12.0-beta.0 <1.12.1>=3.16.0 <4.11.5>=4.12.0-beta.0 <4.12.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMKUBERNETESINGRESSNGINXROOTFSETCNGINXTEMPLATE-9511757
  • published25 Mar 2025
  • disclosed24 Mar 2025
  • creditNir Ohfeld, Ronen Shustin, Sagi Tzadik and Hillai Ben Sasson from Wiz

Introduced: 24 Mar 2025

NewCVE-2025-1097  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes/ingress-nginx/rootfs/etc/nginx/template to version 1.11.5, 1.12.1, 4.11.5, 4.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation through the auth-tls-match-cn annotation. An attacker can execute arbitrary code and disclose sensitive information by injecting malicious configurations.

CVSS Base Scores

version 4.0
version 3.1