CVE-2022-21831: debian debian_linux Improper Control of Generation of Code
Vulnerability summary
CVE-2022-21831 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in debian debian_linux. EPSS estimates a 3.10% chance of exploitation in the next 30 days, higher than 87.7% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 26-05-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.10%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.10% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- rails< 2:6.1.4.7+dfsg-1
- debian_linuxEOL10.0
Opensuse2 products
- ruby3.2-rubygem-activestorage-7.0&distro=openSUSE Tumbleweed< 7.0.4.3-1.1
- rubygem-activestorage-7.0&distro=openSUSE Tumbleweed< 7.0.8.4-1.1 | < 7.0.8.6-1.3 | < 7.0.2.3-1.1
RubyGems1 product
- activestorage≥ 5.2.0, < 5.2.6.3 | ≥ 6.0.0, < 6.0.4.7 | ≥ 6.1.0, < 6.1.4.7 | ≥ 7.0.0, < 7.0.2.3
Rubyonrails1 product
- active storage≥ 5.2.0, < 5.2.6.3 | ≥ 6.0.0, < 6.0.4.7 | ≥ 6.1.0, < 6.1.4.7 | ≥ 7.0.0, < 7.0.2.3
Ubuntu1 product
- railsAll versions (No fix recorded)
5 vendors · 7 products
References
16 links- security.netapp.com/advisory/ntap-20221118-0001/Third Party Advisory
- lists.opensuse.org/archives/…Advisory
Show all 16 references
- github.com/rails/railsPACKAGE