Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-21831

31
FAUCET Score

CVE-2022-21831 is a critical code injection vulnerability in Active Storage versions 5.2.0 and above, impacting Ruby on Rails applications and Debian Linux distributions utilizing this component. With a CVSS score of 9.8, it allows unauthenticated attackers to execute arbitrary code remotely with low complexity, leading to complete compromise of confidentiality, integrity, and availability. While no public exploits, Metasploit modules, or Nuclei templates are currently available, and there is minimal community discussion or media coverage, its high severity and straightforward exploitability warrant immediate attention.

Impacted Technologies

VendorProductVersion(s)CPE
>= 5.2.0, < 5.2.6.3CPE matchmatch criteria
cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*
>= 6.0.0, < 6.0.4.7CPE matchmatch criteria
cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*
>= 6.1.0, < 6.1.4.7CPE matchmatch criteria
cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*
>= 7.0.0, < 7.0.2.3CPE matchmatch criteria
cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:ruby:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.93%
Probability of exploitation in next 30 days
EPSS Percentile
85.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0293 is in the 77th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (5)

github_advisorypatch availablevia nvd_reference
View patch
rubygemspatch availablevia ghsa
Product: activestorageFixed in: 5.2.6.3
rubygemspatch availablevia ghsa
Product: activestorageFixed in: 6.0.4.7
rubygemspatch availablevia ghsa
Product: activestorageFixed in: 6.1.4.7
rubygemspatch availablevia ghsa
Product: activestorageFixed in: 7.0.2.3

Vendor Advisories (2)

rubygemsGHSA-w749-p3v6-hccqcritical

Possible code injection vulnerability in Rails / Active Storage

Mar 8, 2022
redhatCVE-2022-21831Important

rubygem-activestorage: Code injection vulnerability in ActiveStorage

Mar 8, 2022

References

github.com / advisories/GHSA-w749-p3v6-hccq
PatchThird Party Advisory
lists.debian.org / debian-lts-announce/2022/09/msg00002.html
Mailing ListThird Party Advisory
security.netapp.com / advisory/ntap-20221118-0001
Third Party Advisory
debian.org / security/2023/dsa-5372