{"api_version":"1","generated_at":"2026-04-23T02:36:40+00:00","cve":"CVE-2021-25745","urls":{"html":"https://cve.report/CVE-2021-25745","api":"https://cve.report/api/cve/CVE-2021-25745.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-25745","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25745"},"summary":{"title":"CVE-2021-25745","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.","state":"PUBLIC","assigner":"security@kubernetes.io","published_at":"2022-05-06 01:15:00","updated_at":"2022-12-02 22:41:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc","name":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc","refsource":"MISC","tags":[],"title":"[Security Advisory] CVE-2021-25745: Ingress-nginx `path` can be pointed to service account token file","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/kubernetes/ingress-nginx/issues/8502","name":"https://github.com/kubernetes/ingress-nginx/issues/8502","refsource":"MISC","tags":[],"title":"CVE-2021-25745: Ingress-nginx `path` can be pointed to service account token file · Issue #8502 · kubernetes/ingress-nginx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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-25745","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25745","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Gafnit Amiga","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"25745","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-25745","STATE":"PUBLIC","TITLE":"Ingress-nginx path can be pointed to service account token file"},"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":"Gafnit Amiga"}],"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 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."}]},"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/7vQrpDZeBlc","name":"https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc"},{"refsource":"MISC","url":"https://github.com/kubernetes/ingress-nginx/issues/8502","name":"https://github.com/kubernetes/ingress-nginx/issues/8502"},{"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/8502"],"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-05-06 01:15:00","lastModifiedDate":"2022-12-02 22:41: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:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.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":"25745","Ordinal":"200571","Title":"CVE-2021-25745","CVE":"CVE-2021-25745","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"25745","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}]}}}