GHSA-w749-p3v6-hccq

Possible code injection vulnerability in Rails / Active Storage

En bref

Publiée
Mise à jour
CVE
CVE-2022-21831
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

The Active Storage module of Rails starting with version 5.2.0 is possibly vulnerable to code injection. This issue was patched in versions 5.2.6.3, 6.0.4.7, 6.1.4.7, and 7.0.2.3. To work around this issue, applications should implement a strict allow-list on accepted transformation methods or arguments. Additionally, a strict ImageMagick security policy will help mitigate this issue.

Paquets affectés

PaquetVersions
RubyGems · activestorageintroduced 5.2.0, fixed 5.2.6.3
RubyGems · activestorageintroduced 6.0.0, fixed 6.0.4.7
RubyGems · activestorageintroduced 6.1.0, fixed 6.1.4.7
RubyGems · activestorageintroduced 7.0.0, fixed 7.0.2.3

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database