CVE-2021-25746

Ingress-nginx directive injection via annotations

State
Published
Severity
7.6 High
Published
May 6, 2022
Updated
Sep 17, 2024
Reserved
Jan 21, 2021

Read the record on cve.org

Description

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in 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.

Scores

CVSSScoreVectorSource
3.17.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Lkubernetes

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Kubernetes ingress-nginxKubernetes
  • before 1.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.