{"api_version":"1","generated_at":"2026-04-23T02:36:47+00:00","cve":"CVE-2021-25746","urls":{"html":"https://cve.report/CVE-2021-25746","api":"https://cve.report/api/cve/CVE-2021-25746.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-25746","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25746"},"summary":{"title":"CVE-2021-25746","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.","state":"PUBLIC","assigner":"security@kubernetes.io","published_at":"2022-05-06 01:15:00","updated_at":"2022-12-02 23:05:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/kubernetes/ingress-nginx/issues/8503","name":"https://github.com/kubernetes/ingress-nginx/issues/8503","refsource":"MISC","tags":[],"title":"CVE-2021-25746: Ingress-nginx directive injection via annotations · Issue #8503 · kubernetes/ingress-nginx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ","name":"https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ","refsource":"MISC","tags":[],"title":"[Security Advisory] CVE-2021-25746: Ingress-nginx directive injection via annotations","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20220609-0006/","name":"https://security.netapp.com/advisory/ntap-20220609-0006/","refsource":"CONFIRM","tags":[],"title":"May 2022 Kubernetes Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-25746","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25746","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Anthony Weems","lang":""},{"source":"LEGACY","value":"jeffrey&oliver","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"25746","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"kubernetes","cpe5":"ingress-nginx","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@kubernetes.io","DATE_PUBLIC":"2022-04-22T16:30:00.000Z","ID":"CVE-2021-25746","STATE":"PUBLIC","TITLE":"Ingress-nginx directive injection via annotations"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Kubernetes ingress-nginx","version":{"version_data":[{"version_affected":"<","version_value":"1.2.0"}]}}]},"vendor_name":"Kubernetes"}]}},"credit":[{"lang":"eng","value":"Anthony Weems"},{"lang":"eng","value":"jeffrey&oliver"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ","name":"https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ"},{"refsource":"MISC","url":"https://github.com/kubernetes/ingress-nginx/issues/8503","name":"https://github.com/kubernetes/ingress-nginx/issues/8503"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220609-0006/","url":"https://security.netapp.com/advisory/ntap-20220609-0006/"}]},"source":{"defect":["https://github.com/kubernetes/ingress-nginx/issues/8503"],"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-05-06 01:15:00","lastModifiedDate":"2022-12-02 23:05:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":4.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*","versionEndExcluding":"1.2.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"25746","Ordinal":"200572","Title":"CVE-2021-25746","CVE":"CVE-2021-25746","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"25746","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}