cve.bz

CVE-2022-21831

9.8 criticalEPSS 3.1%

Critical (9.8). EPSS 3.1% chance of exploitation in the next 30 days. Fixed in activestorage 5.2.6.3, 6.0.4.7, 6.1.4.7.

A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.1% chance of exploitation in the next 30 days; higher than 87% of CVEs (scores of 2026-10-31)
CWE
CWE-94
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w749-p3v6-hccqRubyGemsactivestorage>=5.2.0 <5.2.6.35.2.6.3
GHSA-w749-p3v6-hccqRubyGemsactivestorage>=6.0.0 <6.0.4.76.0.4.7
GHSA-w749-p3v6-hccqRubyGemsactivestorage>=6.1.0 <6.1.4.76.1.4.7
GHSA-w749-p3v6-hccqRubyGemsactivestorage>=7.0.0 <7.0.2.37.0.2.3

References

Check your stackJSON