Skip to content
OpenAdvisories
High · 7.6 CVE-2021-25745 EUVD-2022-4829GHSA-pvmg-xgmx-9mxh

Ingress-nginx path can be pointed to service account token file

Published May 6, 2022 · Updated Sep 16, 2024 · Assigned by kubernetes

Description

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the spec.rules[].http.paths[].path field of an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.

Affected products

VendorProductAffectedFixed
Kubernetes Kubernetes ingress-nginx unspecified – < 1.2.0 1.2.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rke 1.3.10-1.1 openSUSE-SU-2024:12031-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go k8s.io/ingress-nginx < 1.2.0 1.2.0 GHSA-pvmg-xgmx-9mxh

Advisories 2

References