Описание
HashiCorp go-slug 0.4.0 through 0.18.2 could allow a local attacker to bypass .terraformignore exclusions and cause sensitive files to be included in Terraform slug uploads due to improper handling of Unicode normalization during path matching.
A flaw was found in go-slug. A local attacker could bypass .terraformignore exclusions, leading to sensitive files being included in Terraform slug uploads. This is caused by improper handling of Unicode normalization during path matching.
Отчет
A flaw was found in go-slug versions 0.4.0 through 0.18.2. When Terraform Cloud or Terraform Enterprise configuration uploads are created from a filesystem presenting affected Unicode normalization behavior, a local attacker who can control non-ASCII filenames in the working directory may bypass .terraformignore rules and cause excluded sensitive files to be uploaded. Red Hat products that do not exercise this upload path or ship go-slug 0.18.3 or later are not affected.
Меры по смягчению последствий
Upgrade to go-slug 0.18.3 or later. Where an immediate upgrade is not possible, do not rely on .terraformignore as a security boundary: keep sensitive files outside the uploaded working directory and avoid canonically equivalent non-ASCII filenames and ignore patterns on filesystems that normalize filenames.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| 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
5.5 Medium
CVSS3
Связанные уязвимости
HashiCorp go-slug 0.4.0 through 0.18.2 could allow a local attacker to bypass .terraformignore exclusions and cause sensitive files to be included in Terraform slug uploads due to improper handling of Unicode normalization during path matching.
HashiCorp go-slug 0.4.0 through 0.18.2 could allow a local attacker to bypass .terraformignore exclusions and cause sensitive files to be included in Terraform slug uploads due to improper handling of Unicode normalization during path matching.
EPSS
5.5 Medium
CVSS3