blob: 95dbfc85f953f4308b3cb34326cbccfc092b4299 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-2930",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-32191",
"GHSA-6gr4-52w6-vmqx"
],
"summary": "RKE credentials are stored in the RKE1 Cluster state ConfigMap in github.com/rancher/rke",
"details": "When RKE provisions a cluster, it stores the cluster state in a configmap called \"full-cluster-state\" inside the \"kube-system\" namespace of the cluster itself. This cluster state object contains information used to set up the K8s cluster, which may include sensitive data.",
"affected": [
{
"package": {
"name": "github.com/rancher/rke",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.4.18"
},
{
"fixed": "1.4.19"
},
{
"introduced": "1.5.9"
},
{
"fixed": "1.5.10"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/rancher/rke/k8s",
"symbols": [
"GetSecret",
"GetSecretsList",
"GetSystemSecret",
"UpdateSecret"
]
},
{
"path": "github.com/rancher/rke/cluster",
"symbols": [
"Cluster.CheckClusterPorts",
"Cluster.CleanDeadLogs",
"Cluster.CleanupNodes",
"Cluster.ClusterRemove",
"Cluster.DeployControlPlane",
"Cluster.DeployRestoreCerts",
"Cluster.DeployStateFile",
"Cluster.DeployWorkerPlane",
"Cluster.DisableSecretsEncryption",
"Cluster.GetStateFileFromConfigMap",
"Cluster.PrePullK8sImages",
"Cluster.ReconcileDesiredStateEncryptionConfig",
"Cluster.RewriteSecrets",
"Cluster.RotateEncryptionKey",
"Cluster.RunSELinuxCheck",
"Cluster.SetUpHosts",
"Cluster.StoreAddonConfigMap",
"Cluster.SyncLabelsAndTaints",
"Cluster.TunnelHosts",
"Cluster.UpdateClusterCurrentState",
"Cluster.UpgradeControlPlane",
"Cluster.UpgradeWorkerPlane",
"ConfigureCluster",
"FullState.WriteStateFile",
"GetClusterCertsFromKubernetes",
"GetK8sVersion",
"GetStateFromKubernetes",
"ReadStateFile",
"RebuildKubeconfig",
"RebuildState",
"ReconcileCluster",
"ReconcileEncryptionProviderConfig",
"RestartClusterPods",
"SaveFullStateToKubernetes",
"buildFreshState"
]
},
{
"path": "github.com/rancher/rke/cmd",
"symbols": [
"ClusterInit",
"ClusterRemove",
"ClusterUp",
"RestoreEtcdSnapshot",
"RestoreEtcdSnapshotFromCli",
"RetrieveClusterStateConfigMap",
"RotateEncryptionKey",
"SnapshotRemoveFromEtcdHosts",
"SnapshotSaveEtcdHosts",
"SnapshotSaveEtcdHostsFromCli",
"getStateFile",
"saveClusterState"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/rancher/rke/security/advisories/GHSA-6gr4-52w6-vmqx"
},
{
"type": "FIX",
"url": "https://github.com/rancher/rke/commit/cf49199481a1891909acb1384eed73a5c987d5bd"
},
{
"type": "FIX",
"url": "https://github.com/rancher/rke/commit/f7485b8dce376db0fc15a7c3ceb3de7029c8d0cf"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2930",
"review_status": "REVIEWED"
}
}