Skip to content
Noroxi
NVD / CVE Program· CNA hackerone

CVE-2021-22902: The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible d

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 2.8% (FIRST EPSS); higher than 86.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: rails (Debian:12) 2:6.0.3.7+dfsg-1; rubygem-actionpack-6.0 (openSUSE:Tumbleweed) 6.0.4.4-1.1; foreman (Red Hat:satellite_capsule:6.10::el7) 0:2.5.2.17-2.el7sat.

Low priority for now. Upgrade to rails (Debian:12) 2:6.0.3.7+dfsg-1; rubygem-actionpack-6.0 (openSUSE:Tumbleweed) 6.0.4.4-1.1; foreman (Red Hat:satellite_capsule:6.10::el7) 0:2.5.2.17-2.el7sat or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible denial of service vulnerability in the Mime type parser of Action Dispatch. Carefully crafted Accept headers can cause the mime type parser in Action Dispatch to do catastrophic backtracking in the regular expression engine.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Jun 11, 2021
Updated
Jun 16, 2026
EPSS
2.8% · 86th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.8%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-22902

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
rubyonrailsrails

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • rubyonrails rails6.0.0 and later · before 6.0.3.7
  • rubyonrails rails6.1.0 and later · before 6.1.0.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a https://github.com/rails/rails

    • Fixed in 6.0.3.7, 6.1.3.2affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12railsbefore 2:6.0.3.7+dfsg-12:6.0.3.7+dfsg-1
openSUSE:Tumbleweedrubygem-actionpack-6.0before 6.0.4.4-1.16.0.4.4-1.1
Red Hat:satellite_capsule:6.10::el7foremanbefore 0:2.5.2.17-2.el7sat0:2.5.2.17-2.el7sat
Red Hat:satellite_capsule:6.10::el7python-aiohttpbefore 0:3.7.4-1.el7pc0:3.7.4-1.el7pc
Red Hat:satellite_capsule:6.10::el7python-ecdsabefore 0:0.13.3-2.el7pc0:0.13.3-2.el7pc
Red Hat:satellite_capsule:6.10::el7python-pyyamlbefore 0:5.4.1-1.el7pc0:5.4.1-1.el7pc
Red Hat:satellite_capsule:6.10::el7python-urllib3before 0:1.26.5-1.el7pc0:1.26.5-1.el7pc
Red Hat:satellite_capsule:6.10::el7python3-djangobefore 0:2.2.24-1.el7pc0:2.2.24-1.el7pc
Red Hat:satellite_capsule:6.10::el7python3-ecdsabefore 0:0.13.3-2.el7pc0:0.13.3-2.el7pc
Red Hat:satellite_capsule:6.10::el7python3-pyyamlbefore 0:5.4.1-1.el7pc0:5.4.1-1.el7pc
Red Hat:satellite_capsule:6.10::el7python3-urllib3before 0:1.26.5-1.el7pc0:1.26.5-1.el7pc
Red Hat:satellite_capsule:6.10::el7satellitebefore 0:6.10.0-3.el7sat0:6.10.0-3.el7sat
Red Hat:satellite_capsule:6.10::el7satellite-capsulebefore 0:6.10.0-3.el7sat0:6.10.0-3.el7sat
Red Hat:satellite_capsule:6.10::el7tfm-rubygem-nokogiribefore 0:1.11.3-2.el7sat0:1.11.3-2.el7sat
Red Hat:satellite:6.10::el7candlepinbefore 0:4.0.9-1.el7sat0:4.0.9-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-actionpackbefore 0:6.0.3.7-1.el7sat0:6.0.3.7-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-activerecord-session_storebefore 0:2.0.0-1.el7sat0:2.0.0-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-addressablebefore 0:2.8.0-1.el7sat0:2.8.0-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-pumabefore 0:5.3.2-1.el7sat0:5.3.2-1.el7sat
Red Hat:satellite:6.10::el7tfm-rubygem-railsbefore 0:6.0.3.7-1.el7sat0:6.0.3.7-1.el7sat
RubyGemsactionpackfrom 6.0.0 · before 6.0.3.76.0.3.7
RubyGemsactionpackfrom 6.1.0 · before 6.1.3.26.1.3.2

Other highest-scoring records for the same primary product.

  • CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accepKEV
    90Now
  • CVE-2016-0752Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, anKEV
    89Now
  • CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically gene
    66This week

Published before and after this one in the same product

  • ← EarlierCVE-2021-22881Feb 11, 2021 · The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redirect vulnerability.
    50Plan
  • ← EarlierCVE-2021-22885May 27, 2021 · A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polym
    31Monitor
  • Later →CVE-2021-22903Jun 11, 2021 · The actionpack ruby gem before 6.1.3.2 suffers from a possible open redirect vulnerability.
    24Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rails2:6.0.3.7+dfsg-1 · Debian:12Package registry (OSV)
opensuse:rubygem-actionpack-6.06.0.4.4-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:candlepin0:4.0.9-1.el7sat · Red Hat:satellite:6.10::el7Package registry (OSV)
red hat:foreman0:2.5.2.17-2.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python-aiohttp0:3.7.4-1.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python-ecdsa0:0.13.3-2.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python-pyyaml0:5.4.1-1.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python3-ecdsa0:0.13.3-2.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:python3-pyyaml0:5.4.1-1.el7pc · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:satellite0:6.10.0-3.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:satellite-capsule0:6.10.0-3.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
red hat:tfm-rubygem-actionpack0:6.0.3.7-1.el7sat · Red Hat:satellite:6.10::el7Package registry (OSV)
red hat:tfm-rubygem-activerecord-session_store0:2.0.0-1.el7sat · Red Hat:satellite:6.10::el7Package registry (OSV)
red hat:tfm-rubygem-nokogiri0:1.11.3-2.el7sat · Red Hat:satellite_capsule:6.10::el7Package registry (OSV)
RubyGems:actionpack6.0.3.7Package registry (OSV)
RubyGems:actionpack6.1.3.2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records