Improper Input Validation Affecting github.com/kubernetes/ingress-nginx package, versions >=1.2.0 <1.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.49% (86th percentile)

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 IDSNYK-GOLANG-GITHUBCOMKUBERNETESINGRESSNGINX-6036537
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditcjcullen

Introduced: 25 Oct 2023

CVE-2023-5043  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes/ingress-nginx to version 1.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation where the nginx.ingress.kubernetes.io/configuration-snippet annotation on an Ingress object allows the exploitation of this vulnerability.

Mitigation:

Ingress Administrators should set the --enable-annotation-validation flag to enforce restrictions on the contents of ingress-nginx annotation fields. The validation feature is disabled by default.

CVSS Base Scores

version 3.1