CVE-2021-32001 (GCVE-0-2021-32001)

Vulnerability from cvelistv5 – Published: 2021-07-28 09:25 – Updated: 2024-09-16 22:10
VLAI?
Title
K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token
Summary
K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions.
CWE
  • CWE-311 - Missing Encryption of Sensitive Data
Assigner
Impacted products
Vendor Product Version
SUSE Rancher Affected: K3s , ≤ v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 (custom)
Create a notification for this product.
    SUSE Rancher Affected: RKE2 , ≤ v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 (custom)
Create a notification for this product.
Date Public ?
2021-07-19 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T23:10:31.371Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://bugzilla.suse.com/show_bug.cgi?id=1188453"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "Rancher",
          "vendor": "SUSE",
          "versions": [
            {
              "lessThanOrEqual": "v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1",
              "status": "affected",
              "version": "K3s",
              "versionType": "custom"
            }
          ]
        },
        {
          "product": "Rancher",
          "vendor": "SUSE",
          "versions": [
            {
              "lessThanOrEqual": "v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1",
              "status": "affected",
              "version": "RKE2",
              "versionType": "custom"
            }
          ]
        }
      ],
      "datePublic": "2021-07-19T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster\u0027s confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "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"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-311",
              "description": "CWE-311: Missing Encryption of Sensitive Data",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2022-11-09T00:00:00.000Z",
        "orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb",
        "shortName": "suse"
      },
      "references": [
        {
          "url": "https://bugzilla.suse.com/show_bug.cgi?id=1188453"
        }
      ],
      "source": {
        "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1188453",
        "defect": [
          "1188453"
        ],
        "discovery": "INTERNAL"
      },
      "title": "K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token",
      "x_generator": {
        "engine": "Vulnogram 0.0.9"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb",
    "assignerShortName": "suse",
    "cveId": "CVE-2021-32001",
    "datePublished": "2021-07-28T09:25:11.153Z",
    "dateReserved": "2021-05-03T00:00:00.000Z",
    "dateUpdated": "2024-09-16T22:10:22.048Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:suse:rancher_k3s:1.19.12:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"9F01F797-DFE0-4B12-96BF-C92EED0CD7B0\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:suse:rancher_k3s:1.20.8:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"438C56A6-DC6C-430D-91C9-7A392CB15935\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:suse:rancher_k3s:1.21.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"E087A392-429D-4157-927D-D5A12C301F59\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:suse:rancher_rke2:1.19.12:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"116A6CD7-3027-44F6-80A8-1CBD95547DA9\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:suse:rancher_rke2:1.20.8:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"03D93121-9542-43C3-AAA3-82B406C329E5\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:suse:rancher_rke2:1.21.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"F878C56D-62E2-4132-9F06-FB22365995E3\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster\u0027s confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions.\"}, {\"lang\": \"es\", \"value\": \"K3s en SUSE Rancher permite a cualquier usuario con acceso directo al almac\\u00e9n de datos, o a una copia de seguridad del almac\\u00e9n de datos, extraer el material de clave confidencial del cl\\u00faster (claves privadas de la autoridad de certificaci\\u00f3n del cl\\u00faster, frase de contrase\\u00f1a de configuraci\\u00f3n de cifrado de secretos, etc.) y descifrarlo, sin tener que conocer el valor del token. Este problema afecta a: SUSE Rancher K3s versi\\u00f3n v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 y versiones anteriores; RKE2 versi\\u00f3n v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 y versiones anteriores\"}]",
      "id": "CVE-2021-32001",
      "lastModified": "2024-11-21T06:06:41.367",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"meissner@suse.de\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"baseScore\": 6.5, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.8, \"impactScore\": 3.6}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"baseScore\": 6.5, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.8, \"impactScore\": 3.6}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:L/Au:S/C:P/I:N/A:N\", \"baseScore\": 4.0, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"LOW\", \"authentication\": \"SINGLE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"baseSeverity\": \"MEDIUM\", \"exploitabilityScore\": 8.0, \"impactScore\": 2.9, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
      "published": "2021-07-28T10:15:08.327",
      "references": "[{\"url\": \"https://bugzilla.suse.com/show_bug.cgi?id=1188453\", \"source\": \"meissner@suse.de\", \"tags\": [\"Issue Tracking\", \"Vendor Advisory\"]}, {\"url\": \"https://bugzilla.suse.com/show_bug.cgi?id=1188453\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Issue Tracking\", \"Vendor Advisory\"]}]",
      "sourceIdentifier": "meissner@suse.de",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"meissner@suse.de\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-311\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"NVD-CWE-Other\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-32001\",\"sourceIdentifier\":\"meissner@suse.de\",\"published\":\"2021-07-28T10:15:08.327\",\"lastModified\":\"2024-11-21T06:06:41.367\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster\u0027s confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions.\"},{\"lang\":\"es\",\"value\":\"K3s en SUSE Rancher permite a cualquier usuario con acceso directo al almac\u00e9n de datos, o a una copia de seguridad del almac\u00e9n de datos, extraer el material de clave confidencial del cl\u00faster (claves privadas de la autoridad de certificaci\u00f3n del cl\u00faster, frase de contrase\u00f1a de configuraci\u00f3n de cifrado de secretos, etc.) y descifrarlo, sin tener que conocer el valor del token. Este problema afecta a: SUSE Rancher K3s versi\u00f3n v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 y versiones anteriores; RKE2 versi\u00f3n v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 y versiones anteriores\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"meissner@suse.de\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:P/I:N/A:N\",\"baseScore\":4.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"meissner@suse.de\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-311\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:suse:rancher_k3s:1.19.12:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9F01F797-DFE0-4B12-96BF-C92EED0CD7B0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:suse:rancher_k3s:1.20.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"438C56A6-DC6C-430D-91C9-7A392CB15935\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:suse:rancher_k3s:1.21.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E087A392-429D-4157-927D-D5A12C301F59\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:suse:rancher_rke2:1.19.12:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"116A6CD7-3027-44F6-80A8-1CBD95547DA9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:suse:rancher_rke2:1.20.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"03D93121-9542-43C3-AAA3-82B406C329E5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:suse:rancher_rke2:1.21.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F878C56D-62E2-4132-9F06-FB22365995E3\"}]}]}],\"references\":[{\"url\":\"https://bugzilla.suse.com/show_bug.cgi?id=1188453\",\"source\":\"meissner@suse.de\",\"tags\":[\"Issue Tracking\",\"Vendor Advisory\"]},{\"url\":\"https://bugzilla.suse.com/show_bug.cgi?id=1188453\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Issue Tracking\",\"Vendor Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…