8.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): Low (L)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
KubeVela Terraform remote loader DoS via unbounded file read
KubeVela is an open source application delivery platform. Prior to 1.9.14, from 1.10.0-alpha.1 until 1.10.9, and from 1.11.0-alpha.1 until 1.11.0-alpha.4, the Terraform remote configuration loader in pkg/controller/utils/capability.go, GetTerraformConfigurationFromRemote, clones a repository supplied through a core.oam.dev/v1beta1 ComponentDefinition and follows repository-controlled variables.tf or main.tf symlinks. A user with permission to create or update ComponentDefinition objects can point variables.tf to /dev/zero through terraform.path, after which os.Stat and os.ReadFile follow the link and read an unbounded stream before ParseTerraformVariables or HCL parsing can reject the content. The read can exhaust memory, OOM-kill the cluster-wide vela-core controller, cause repeated Pod restarts, and pressure node memory when no effective container limit is configured. This issue is fixed in versions 1.9.14, 1.10.9, and 1.11.0-alpha.4.
References
-
https://github.com/kubevela/kubevela/security/advisories/GHSA-fmgp-q6jx-gg3x x_refsource_CONFIRMexploit
-
https://github.com/kubevela/kubevela/pull/7191 x_refsource_MISC
-
https://github.com/kubevela/kubevela/pull/7192 x_refsource_MISC
-
https://github.com/kubevela/kubevela/releases/tag/v1.10.9 x_refsource_MISC
-
https://github.com/kubevela/kubevela/releases/tag/v1.11.0-alpha.4 x_refsource_MISC
-
https://github.com/kubevela/kubevela/releases/tag/v1.9.14 x_refsource_MISC
Affected products
- ==< 1.9.14
- ==>= 1.10.0-alpha.1, < 1.10.9
- ==>= 1.11.0-alpha.1, < 1.11.0-alpha.4