GitHub Advisoryadvisory · Go

GHSA-fp9f-44c2-cw27 Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation

HIGH Published 2023-10-25 Modified 2025-02-13 Official page ↗
Aliases
CVE-2023-5044
Ecosystem
Go
Packages
k8s.io/ingress-nginx
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Weaknesses
CWE-20, CWE-94
Reviewed
2024-01-02

Affected packages

• Go k8s.io/ingress-nginx: < 1.9.0 → fixed in 1.9.0

Description

A security issue was identified in ingress-nginx where the nginx.ingress.kubernetes.io/permanent-redirect annotation on an Ingress object (in the networking.k8s.io or extensions API group) can be used to inject arbitrary commands, and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.

Related

Alias · CVE (1)

  • CVE-2023-5044 Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-94 Improper Control of Generation of Code weakness

References