gsd-2020-8565
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects <= v1.19.3, <= v1.18.10, <= v1.17.13, < v1.20.0-alpha2.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2020-8565",
    "description": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects \u003c= v1.19.3, \u003c= v1.18.10, \u003c= v1.17.13, \u003c v1.20.0-alpha2.",
    "id": "GSD-2020-8565",
    "references": [
      "https://www.suse.com/security/cve/CVE-2020-8565.html",
      "https://access.redhat.com/errata/RHSA-2021:5086",
      "https://access.redhat.com/errata/RHSA-2021:5085",
      "https://access.redhat.com/errata/RHBA-2021:3003",
      "https://access.redhat.com/errata/RHSA-2021:2041"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2020-8565"
      ],
      "details": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects \u003c= v1.19.3, \u003c= v1.18.10, \u003c= v1.17.13, \u003c v1.20.0-alpha2.",
      "id": "GSD-2020-8565",
      "modified": "2023-12-13T01:21:54.456729Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@kubernetes.io",
        "DATE_PUBLIC": "2020-10-15T04:00:00.000Z",
        "ID": "CVE-2020-8565",
        "STATE": "PUBLIC",
        "TITLE": "Incomplete fix for CVE-2019-11250 allows for token leak in logs when logLevel \u003e= 9"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Kubernetes",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003c= 1.19.3"
                        },
                        {
                          "version_value": "\u003c= 1.18.10"
                        },
                        {
                          "version_value": "\u003c= 1.17.13"
                        },
                        {
                          "version_value": "\u003c 1.20.0-alpha2"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Kubernetes"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "Patrick Rhomberg (purelyapplied)"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects \u003c= v1.19.3, \u003c= v1.18.10, \u003c= v1.17.13, \u003c v1.20.0-alpha2."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "NONE",
          "baseScore": 4.7,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-532 Information Exposure Through Log Files"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "Multiple secret leaks when verbose logging is enabled",
            "refsource": "MLIST",
            "url": "https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ"
          },
          {
            "name": "https://github.com/kubernetes/kubernetes/issues/95623",
            "refsource": "CONFIRM",
            "url": "https://github.com/kubernetes/kubernetes/issues/95623"
          }
        ]
      },
      "source": {
        "defect": [
          "https://github.com/kubernetes/kubernetes/issues/95623"
        ],
        "discovery": "EXTERNAL"
      },
      "work_around": [
        {
          "lang": "eng",
          "value": "Do not enable verbose logging in production (log level \u003e= 9), limit access to logs."
        }
      ]
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=v1.17.0 \u003c=v1.17.13 || \u003e=v1.18.0 \u003c=v1.18.10 || \u003e=v1.19.0 \u003c=v1.19.3",
          "affected_versions": "All versions starting from 1.17.0 up to 1.17.13, all versions starting from 1.18.0 up to 1.18.10, all versions starting from 1.19.0 up to 1.19.3",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-532",
            "CWE-937"
          ],
          "date": "2020-12-08",
          "description": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files.",
          "fixed_versions": [
            "v1.17.14-rc.0",
            "v1.18.11-rc.0",
            "v1.19.4-rc.0"
          ],
          "identifier": "CVE-2020-8565",
          "identifiers": [
            "CVE-2020-8565"
          ],
          "not_impacted": "All versions before 1.17.0, all versions after 1.17.13 before 1.18.0, all versions after 1.18.10 before 1.19.0, all versions after 1.19.3",
          "package_slug": "go/github.com/kubernetes/kubernetes",
          "pubdate": "2020-12-07",
          "solution": "Upgrade to versions 1.17.14-rc.0, 1.18.11-rc.0, 1.19.4-rc.0 or above. *Note*: 1.17.14-rc.0, 1.18.11-rc.0, and 1.19.4-rc.0 may be unstable versions. Use caution.",
          "title": "Inclusion of Sensitive Information in Log Files",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-8565"
          ],
          "uuid": "47a4ccf2-1175-4739-b9b6-d2af792fd7ce",
          "versions": [
            {
              "commit": {
                "sha": "02a9c9f39a18ee40c37835c36c7c80e0797b0d85",
                "tags": [
                  "v1.17.0"
                ],
                "timestamp": "20191206012503"
              },
              "number": "v1.17.0"
            },
            {
              "commit": {
                "sha": "f6cc41b23ef90243e9dbba5fbad501630caaa737",
                "tags": [
                  "v1.18.0"
                ],
                "timestamp": "20200325144952"
              },
              "number": "v1.18.0"
            },
            {
              "commit": {
                "sha": "0fc1dcd829d621ec5605d3eeb381e728371da832",
                "tags": [
                  "v1.19.0"
                ],
                "timestamp": "20200826142205"
              },
              "number": "v1.19.0"
            },
            {
              "commit": {
                "sha": "f8f9da017bafd927ba0e1046572a914e3341a42f",
                "tags": [
                  "v1.19.4-rc.0"
                ],
                "timestamp": "20201014123937"
              },
              "number": "v1.19.4-rc.0"
            },
            {
              "commit": {
                "sha": "c3dc35c4e9145c1b9f6b2f14545b3d76ca1e0a3b",
                "tags": [
                  "v1.19.3"
                ],
                "timestamp": "20201014123937"
              },
              "number": "v1.19.3"
            },
            {
              "commit": {
                "sha": "8103ff82e083f536b3a6cdfdb1f8621cc827981a",
                "tags": [
                  "v1.17.13"
                ],
                "timestamp": "20201015005831"
              },
              "number": "v1.17.13"
            },
            {
              "commit": {
                "sha": "3ab59c453ca5a23325330317856061a11059be47",
                "tags": [
                  "v1.17.14-rc.0"
                ],
                "timestamp": "20201015005832"
              },
              "number": "v1.17.14-rc.0"
            },
            {
              "commit": {
                "sha": "1eaa7b6516ecf87a518a94f95e260487db272b88",
                "tags": [
                  "v1.18.10"
                ],
                "timestamp": "20201015014302"
              },
              "number": "v1.18.10"
            },
            {
              "commit": {
                "sha": "5a35729e05e1bcf398d82b3c97f24ad925f9f8d7",
                "tags": [
                  "v1.18.11-rc.0"
                ],
                "timestamp": "20201015014303"
              },
              "number": "v1.18.11-rc.0"
            }
          ]
        },
        {
          "affected_range": "\u003c0.20.0-alpha.2",
          "affected_versions": "All versions before 0.20.0-alpha.2",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-532",
            "CWE-937"
          ],
          "date": "2023-02-06",
          "description": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects \u003c= v1.19.3, \u003c= v1.18.10, \u003c= v1.17.13, \u003c v1.20.0-alpha2.",
          "fixed_versions": [
            "0.20.0-alpha.2"
          ],
          "identifier": "CVE-2020-8565",
          "identifiers": [
            "GHSA-8cfg-vx93-jvxw",
            "CVE-2020-8565"
          ],
          "not_impacted": "All versions starting from 0.20.0-alpha.2",
          "package_slug": "go/k8s.io/client-go",
          "pubdate": "2023-02-06",
          "solution": "Upgrade to version 0.20.0-alpha.2 or above. *Note*: 0.20.0-alpha.2 may be an unstable version. Use caution.",
          "title": "Insertion of Sensitive Information into Log File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-8565",
            "https://github.com/kubernetes/kubernetes/issues/95623",
            "https://github.com/kubernetes/kubernetes/pull/95316",
            "https://github.com/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419",
            "https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ",
            "https://pkg.go.dev/vuln/GO-2021-0064",
            "https://github.com/advisories/GHSA-8cfg-vx93-jvxw"
          ],
          "uuid": "ada6ab53-db90-4466-80bd-1335e9bdfa57"
        },
        {
          "affected_range": "\u003c1.20.0-alpha.2",
          "affected_versions": "All versions before 1.20.0-alpha.2",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-532",
            "CWE-937"
          ],
          "date": "2023-02-06",
          "description": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects \u003c= v1.19.3, \u003c= v1.18.10, \u003c= v1.17.13, \u003c v1.20.0-alpha2.",
          "fixed_versions": [
            "1.20.0-alpha.2"
          ],
          "identifier": "CVE-2020-8565",
          "identifiers": [
            "GHSA-8cfg-vx93-jvxw",
            "CVE-2020-8565"
          ],
          "not_impacted": "All versions starting from 1.20.0-alpha.2",
          "package_slug": "go/k8s.io/kubernetes",
          "pubdate": "2023-02-06",
          "solution": "Upgrade to version 1.20.0-alpha.2 or above. *Note*: 1.20.0-alpha.2 may be an unstable version. Use caution.",
          "title": "Insertion of Sensitive Information into Log File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-8565",
            "https://github.com/kubernetes/kubernetes/issues/95623",
            "https://github.com/kubernetes/kubernetes/pull/95316",
            "https://github.com/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419",
            "https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ",
            "https://pkg.go.dev/vuln/GO-2021-0064",
            "https://github.com/advisories/GHSA-8cfg-vx93-jvxw"
          ],
          "uuid": "9c396e9d-d3de-4cd9-8a9b-be871b1ad4e9"
        },
        {
          "affected_range": "\u003e=1.17.0 \u003c1.17.16||\u003e=1.18.0 \u003c1.18.14||\u003e=1.19.0 \u003c1.19.6",
          "affected_versions": "All versions starting from 1.17.0 before 1.17.16, all versions starting from 1.18.0 before 1.18.14, all versions starting from 1.19.0 before 1.19.6",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-532",
            "CWE-937"
          ],
          "date": "2020-12-08",
          "description": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl.",
          "fixed_versions": [
            "1.17.16",
            "1.18.14",
            "1.19.6",
            "1.20.0"
          ],
          "identifier": "CVE-2020-8565",
          "identifiers": [
            "CVE-2020-8565"
          ],
          "not_impacted": "All versions starting from 1.17.16 before 1.18.0, all versions starting from 1.18.14 before 1.19.0, all versions starting from 1.19.6",
          "package_slug": "go/k8s.io/kubernetes/pkg/apis/apps/validation",
          "pubdate": "2020-12-07",
          "solution": "Upgrade to version 1.17.16, 1.18.14, 1.19.6, 1.20.0 or above.",
          "title": "Inclusion of Sensitive Information in Log Files",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-8565"
          ],
          "uuid": "08ca0fa3-fdcd-4496-8e23-4ee7192999be"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.17.13",
                "versionStartIncluding": "1.17.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.18.10",
                "versionStartIncluding": "1.18.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.19.3",
                "versionStartIncluding": "1.19.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@kubernetes.io",
          "ID": "CVE-2020-8565"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects \u003c= v1.19.3, \u003c= v1.18.10, \u003c= v1.17.13, \u003c v1.20.0-alpha2."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-532"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/kubernetes/kubernetes/issues/95623",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/kubernetes/kubernetes/issues/95623"
            },
            {
              "name": "Multiple secret leaks when verbose logging is enabled",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 2.1,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2020-12-08T19:51Z",
      "publishedDate": "2020-12-07T22:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • 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.