gsd-2021-25745
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
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.
Aliases
Aliases
{ GSD: { alias: "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.", id: "GSD-2021-25745", references: [ "https://security.archlinux.org/CVE-2021-25745", "https://www.suse.com/security/cve/CVE-2021-25745.html", ], }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2021-25745", ], details: "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.", id: "GSD-2021-25745", modified: "2023-12-13T01:23:21.461856Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { 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: [ { name: "https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc", refsource: "MISC", url: "https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc", }, { name: "https://github.com/kubernetes/ingress-nginx/issues/8502", refsource: "MISC", url: "https://github.com/kubernetes/ingress-nginx/issues/8502", }, { name: "https://security.netapp.com/advisory/ntap-20220609-0006/", refsource: "CONFIRM", url: "https://security.netapp.com/advisory/ntap-20220609-0006/", }, ], }, source: { defect: [ "https://github.com/kubernetes/ingress-nginx/issues/8502", ], discovery: "EXTERNAL", }, }, "gitlab.com": { advisories: [ { affected_range: "<v1.2.0", affected_versions: "All versions before 1.2.0", cvss_v2: "AV:N/AC:L/Au:S/C:P/I:P/A:N", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", cwe_ids: [ "CWE-1035", "CWE-20", "CWE-937", ], date: "2022-12-02", 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.", fixed_versions: [ "v1.2.0", ], identifier: "CVE-2021-25745", identifiers: [ "CVE-2021-25745", ], not_impacted: "", package_slug: "go/github.com/kubernetes/ingress-nginx", pubdate: "2022-05-06", solution: "Upgrade to version 1.2.0 or above.", title: "Improper Input Validation", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2021-25745", "https://github.com/kubernetes/ingress-nginx/issues/8502", "https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc", ], uuid: "dcd84a96-bc94-4053-acaa-6357002a568e", versions: [ { commit: { sha: "db4aeea723dcb4d8c21d8426f4e21e5f52eec2f1", tags: [ "controller-v1.2.0-beta.0", ], timestamp: "20220414030648", }, number: "v1.2.0", }, ], }, { affected_range: "<1.2.0", affected_versions: "All versions before 1.2.0", cvss_v2: "AV:N/AC:L/Au:S/C:P/I:P/A:N", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", cwe_ids: [ "CWE-1035", "CWE-20", "CWE-937", ], date: "2022-05-25", 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.", fixed_versions: [ "1.2.0", ], identifier: "CVE-2021-25745", identifiers: [ "GHSA-pvmg-xgmx-9mxh", "CVE-2021-25745", ], not_impacted: "All versions starting from 1.2.0", package_slug: "go/k8s.io/ingress-nginx", pubdate: "2022-05-07", solution: "Upgrade to version 1.2.0 or above.", title: "Improper Input Validation", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2021-25745", "https://github.com/kubernetes/ingress-nginx/issues/8502", "https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc", "https://github.com/advisories/GHSA-pvmg-xgmx-9mxh", ], uuid: "8c7da5d9-b222-40ac-aea0-2800998d9c9d", }, ], }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*", cpe_name: [], versionEndExcluding: "1.2.0", vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "security@kubernetes.io", ID: "CVE-2021-25745", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "en", 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.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-20", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/kubernetes/ingress-nginx/issues/8502", refsource: "MISC", tags: [ "Issue Tracking", "Mitigation", "Third Party Advisory", ], url: "https://github.com/kubernetes/ingress-nginx/issues/8502", }, { name: "https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc", refsource: "MISC", tags: [ "Issue Tracking", "Mailing List", "Mitigation", "Third Party Advisory", ], url: "https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc", }, { name: "https://security.netapp.com/advisory/ntap-20220609-0006/", refsource: "CONFIRM", tags: [ "Third Party Advisory", ], url: "https://security.netapp.com/advisory/ntap-20220609-0006/", }, ], }, }, impact: { baseMetricV2: { acInsufInfo: false, cvssV2: { accessComplexity: "LOW", accessVector: "NETWORK", authentication: "SINGLE", availabilityImpact: "NONE", baseScore: 5.5, confidentialityImpact: "PARTIAL", integrityImpact: "PARTIAL", vectorString: "AV:N/AC:L/Au:S/C:P/I:P/A:N", version: "2.0", }, exploitabilityScore: 8, impactScore: 4.9, obtainAllPrivilege: false, obtainOtherPrivilege: false, obtainUserPrivilege: false, severity: "MEDIUM", userInteractionRequired: false, }, baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 8.1, baseSeverity: "HIGH", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "LOW", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", version: "3.1", }, exploitabilityScore: 2.8, impactScore: 5.2, }, }, lastModifiedDate: "2022-12-02T22:41Z", publishedDate: "2022-05-06T01:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.