gsd-2021-25748
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 a newline character to bypass the sanitization of 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-25748", "id": "GSD-2021-25748", "references": [ "https://www.suse.com/security/cve/CVE-2021-25748.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-25748" ], "details": "A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of 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-25748", "modified": "2023-12-13T01:23:21.663973Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security@kubernetes.io", "DATE_PUBLIC": "2022-06-10T16:00:00.000Z", "ID": "CVE-2021-25748", "STATE": "PUBLIC", "TITLE": "Ingress-nginx `path` sanitization can be bypassed with newline character" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Kubernetes ingress-nginx", "version": { "version_data": [ { "version_affected": "\u003c", "version_value": "1.2.1" } ] } } ] }, "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 a newline character to bypass the sanitization of 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/avaRYa9c7I8", "refsource": "MISC", "url": "https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8" }, { "name": "https://github.com/kubernetes/ingress-nginx/issues/8686", "refsource": "MISC", "url": "https://github.com/kubernetes/ingress-nginx/issues/8686" } ] }, "source": { "defect": [ "https://github.com/kubernetes/ingress-nginx/issues/8686" ], "discovery": "EXTERNAL" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv1.2.1", "affected_versions": "All versions before 1.2.1", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "cwe_ids": [ "CWE-20", "CWE-1035", "CWE-937" ], "date": "2023-06-01", "description": "A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of 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.1" ], "identifier": "CVE-2021-25748", "identifiers": [ "CVE-2021-25748" ], "not_impacted": "All versions starting from 1.2.1", "package_slug": "go/github.com/kubernetes/ingress-nginx", "pubdate": "2023-05-24", "solution": "Upgrade to version 1.2.1 or above.", "title": "Improper Input Validation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-25748", "https://github.com/kubernetes/ingress-nginx/issues/8686", "https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8" ], "uuid": "5667ef15-bae3-4428-bd1f-20d8775b14e5", "versions": [] }, { "affected_range": "\u003c1.2.1", "affected_versions": "All versions before 1.2.1", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2023-05-24", "description": "A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of 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.1" ], "identifier": "CVE-2021-25748", "identifiers": [ "GHSA-863x-868h-968x", "CVE-2021-25748" ], "not_impacted": "All versions starting from 1.2.1", "package_slug": "go/k8s.io/ingress-nginx", "pubdate": "2023-05-24", "solution": "Upgrade to version 1.2.1 or above.", "title": "Ingress-nginx `path` sanitization can be bypassed with newline character", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-25748", "https://github.com/kubernetes/ingress-nginx/issues/8686", "https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8", "https://github.com/kubernetes/ingress-nginx/pull/8623", "https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.2.1", "https://github.com/advisories/GHSA-863x-868h-968x" ], "uuid": "321e58ac-dbce-4cb7-8132-565b293b1f9c" } ] }, "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.1", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security@kubernetes.io", "ID": "CVE-2021-25748" }, "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 a newline character to bypass the sanitization of 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": "NVD-CWE-noinfo" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/kubernetes/ingress-nginx/issues/8686", "refsource": "MISC", "tags": [ "Issue Tracking", "Mitigation", "Vendor Advisory" ], "url": "https://github.com/kubernetes/ingress-nginx/issues/8686" }, { "name": "https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8", "refsource": "MISC", "tags": [ "Mailing List", "Mitigation", "Vendor Advisory" ], "url": "https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 3.6 } }, "lastModifiedDate": "2023-06-01T20:44Z", "publishedDate": "2023-05-24T17:15Z" } } }
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.