9.8

CVE-2022-21831: debian debian_linux Improper Control of Generation of Code

Modified
AliasesUBUNTU-CVE-2022-21831DEBIAN-CVE-2022-21831openSUSE-SU-2024:11903-1
Published 26-05-2022Last modified 03-08-2024

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.

Priority
Prioritisesevere

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?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
3.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 26-05-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

05-10-202604-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
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
Show all 16 references