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

exploitDog

github логотип

GHSA-qcfx-2mfw-w4cg

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

Описание

Rails Active Storage has possible content type bypass via metadata in direct uploads

Impact

Active Storage's DirectUploadsController accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like identified and analyzed are stored in the same metadata hash, a malicious direct-upload client could set these flags.

Releases

The fixed releases are available at the normal locations.

Credit

This was responsible reported by Hackerone researcher pwnie

Пакеты

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

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

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

5.3 Medium

CVSS4

Дефекты

CWE-925

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

CVSS3: 5.3
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, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 7.6
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, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 5.3
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, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

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

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

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

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

EPSS

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

5.3 Medium

CVSS4

Дефекты

CWE-925