CyberRota Analysis
AI-GeneratedVictoriaMetrics versions prior to 1.122.25, 1.136.12, and 1.146.0 are vulnerable due to insufficient validation of backup part path components in the vmrestore process, allowing attackers to exploit this flaw by manipulating object names in backup sources. This could lead to unauthorized file creation or overwriting outside the designated restore directory, posing a risk to the integrity of the filesystem. Organizations using affected versions should prioritize upgrading to the patched versions to mitigate potential security risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
VictoriaMetrics is a scalable solution for monitoring and managing time series data. Prior to 1.122.25, 1.136.12, and 1.146.0, vmrestore does not validate backup part path components before using lib/backup/actions/restore.go and lib/backup/fslocal/fslocal.go to write restored data below storageDataPath. An attacker who can supply or modify an S3, GCS, Azure Blob Storage, or other backup source can place .. components in object names. When an operator restores that source, the crafted names can create or overwrite files outside the intended restore root within the filesystem permissions of the vmrestore process. This issue is fixed in versions 1.122.25, 1.136.12, and 1.146.0.