{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6d9a39eda7b180f27b34726d7a7a96d73808ce75"
            }
          ],
          "repo": "https://github.com/kubernetes/ingress-nginx",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2021-25746",
  "modified": "2026-03-13T21:51:19.507870502Z",
  "published": "2022-05-06T01:15:09.180Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security.netapp.com/advisory/ntap-20220609-0006/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kubernetes/ingress-nginx/issues/8503"
    },
    {
      "type": "REPORT",
      "url": "https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}