Описание
OpenTofu before 1.11.7 fails to validate existing symlinks in the provider cache directory during initialization. Attackers can place a malicious symlink in a trusted working directory to cause tofu init to write provider package contents to arbitrary filesystem locations outside the working tree.
A flaw was found in OpenTofu. This vulnerability allows attackers to exploit a symlink following path traversal during the initialization process. By placing a malicious symbolic link in a trusted working directory, an attacker can cause the 'tofu init' command to write provider package contents to arbitrary filesystem locations. This could lead to unauthorized modification of files on the system.
Отчет
This Moderate flaw in OpenTofu allows for arbitrary file writes via symlink following during initialization. However, Red Hat products are not affected by this vulnerability as the vulnerable code is not present.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Hardened Images | hi/opentofu | Not affected | ||
| Red Hat Hardened Images | opentofu1.10 | Not affected | ||
| Red Hat Hardened Images | opentofu1.11 | Not affected | ||
| Red Hat Hardened Images | opentofu1.12 | Not affected |
Показывать по
Дополнительная информация
Статус:
EPSS
6.1 Medium
CVSS3
Связанные уязвимости
OpenTofu before 1.11.7 fails to validate existing symlinks in the provider cache directory during initialization. Attackers can place a malicious symlink in a trusted working directory to cause tofu init to write provider package contents to arbitrary filesystem locations outside the working tree.
OpenTofu before 1.11.7 fails to validate existing symlinks in the prov ...
OpenTofu before 1.11.7 fails to validate existing symlinks in the provider cache directory during initialization. Attackers can place a malicious symlink in a trusted working directory to cause tofu init to write provider package contents to arbitrary filesystem locations outside the working tree.
EPSS
6.1 Medium
CVSS3