CVE-2021-22885
Action Pack contains Information Disclosure / Unintended Method Execution vulnerability
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 5.2.6
gem install actionpack -v 6.0.3.7
gem install actionpack -v 5.2.4.6
gem install actionpack -v 6.1.3.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| actionpack | rubygems | 5.2.5 | 5.2.6 |
| actionpack | rubygems | 6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+12 more) | 6.0.3.7 |
| actionpack | rubygems | 2.0.0, 2.0.1, 2.0.2, 2.0.4 (+316 more) | 5.2.4.6 |
| actionpack | rubygems | 6.1.0, 6.1.1, 6.1.2, 6.1.2.1 (+2 more) | 6.1.3.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-200Information ExposureMITRE
- CWE-209
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22885ADVISORY
- https://hackerone.com/reports/1106652WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2021-22885.ymlWEB
- https://groups.google.com/g/rubyonrails-security/c/NiQl-48cXYIWEB
- https://security.netapp.com/advisory/ntap-20210805-0009WEB
Frequently Asked Questions
- What is CVE-2021-22885?
- Action Pack contains Information Disclosure / Unintended Method Execution vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2021-22885?
- CVE-2021-22885 affects actionpack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-22885 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2015-7581HIGH
actionpack is vulnerable to denial of service because of a wildcard controller route
- CVE-2016-0751HIGH
actionpack is vulnerable to denial of service via a crafted HTTP Accept header
- CVE-2024-26143MEDIUM
Rails has possible XSS Vulnerability in Action Controller
- CVE-2020-8185MEDIUM
Untrusted users can run pending migrations in production in Rails
- CVE-2024-28103MEDIUM
Missing security headers in Action Pack on non-HTML responses
- CVE-2022-22577MEDIUM
Cross-site Scripting Vulnerability in Action Pack
- CVE-2011-1497MEDIUM
Cross site scripting in actionpack Rubygem
- CVE-2026-33167LOW
Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies