Advisory

GHSA-fp9f-44c2-cw27

Also known as: CVE-2023-5044, GO-2024-2428

Summary

Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-25 21:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

k8s.io/ingress-nginx

Go · All systems

Affected

  • introduced 0, fixed 1.9.0 (semver)

Fixed versions

1.9.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences