Skip to content

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

High severity GitHub Reviewed Published Oct 25, 2023 to the GitHub Advisory Database • Updated Mar 17, 2024

Package

gomod k8s.io/ingress-nginx (Go)

Affected versions

< 1.9.0

Patched versions

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.

References

Published by the National Vulnerability Database Oct 25, 2023
Published to the GitHub Advisory Database Oct 25, 2023
Reviewed Jan 2, 2024
Last updated Mar 17, 2024

Severity

High
7.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

CVE ID

CVE-2023-5044

GHSA ID

GHSA-fp9f-44c2-cw27

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.