Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-73f9-jhhh-hr5m

Опубликовано: 23 мар. 2026
Источник: github
Github: Прошло ревью
CVSS4: 6.6

Описание

Rails Active Storage has possible glob injection in its DiskService

Impact

Active Storage's DiskService#delete_prefixed passes blob keys directly to Dir.glob without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory.

Releases

The fixed releases are available at the normal locations.

Пакеты

Наименование

activestorage

rubygems
Затронутые версииВерсия исправления

>= 8.1.0.beta1, < 8.1.2.1

8.1.2.1

Наименование

activestorage

rubygems
Затронутые версииВерсия исправления

>= 8.0.0.beta1, < 8.0.4.1

8.0.4.1

Наименование

activestorage

rubygems
Затронутые версииВерсия исправления

< 7.2.3.1

7.2.3.1

EPSS

Процентиль: 47%
0.00646
Низкий

6.6 Medium

CVSS4

Дефекты

CWE-74

Связанные уязвимости

CVSS3: 9.1
ubuntu
4 месяца назад

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 6.5
redhat
4 месяца назад

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 9.1
nvd
4 месяца назад

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 9.1
debian
4 месяца назад

Active Storage allows users to attach cloud and local files in Rails a ...

CVSS3: 7.5
fstec
4 месяца назад

Уязвимость компонента Active Storage программной платформы Ruby on Rails, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 47%
0.00646
Низкий

6.6 Medium

CVSS4

Дефекты

CWE-74