CVE-2022-22577
Cross-site Scripting Vulnerability in Action Pack
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 5.2.7.1
gem install actionpack -v 6.0.4.8
gem install actionpack -v 7.0.2.4
gem install actionpack -v 6.1.5.1
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.0, 5.2.1, 5.2.1.1, 5.2.1.rc1 (+19 more) | 5.2.7.1 |
| actionpack | rubygems | 6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+21 more) | 6.0.4.8 |
| actionpack | rubygems | 7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+2 more) | 7.0.2.4 |
| actionpack | rubygems | 6.1.0, 6.1.1, 6.1.2, 6.1.2.1 (+12 more) | 6.1.5.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22577ADVISORY
- https://github.com/rails/rails/pull/44635WEB
- https://github.com/rails/rails/commit/2b820a2a69fa50cffa74b4aedc57bf92ed6910ecWEB
- https://github.com/rails/rails/commit/5299b57d596ea274f77f5ffee2b79c6ee0255508WEB
- https://github.com/rails/rails/commit/8198d7c4accad0b6ba956b9d59528534a289866bWEB
- https://github.com/rails/rails/commit/d2253115ac2b30f5f7210670af906cebf79cf809WEB
- https://discuss.rubyonrails.org/t/cve-2022-22577-possible-xss-vulnerability-in-action-pack/80533WEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2022-22577.ymlWEB
- https://groups.google.com/g/ruby-security-ann/c/NuFRKaN5swIWEB
- https://lists.debian.org/debian-lts-announce/2022/09/msg00002.htmlWEB
- https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-releasedWEB
- https://security.netapp.com/advisory/ntap-20221118-0002WEB
- https://www.debian.org/security/2023/dsa-5372WEB
Frequently Asked Questions
- What is CVE-2022-22577?
- Cross-site Scripting Vulnerability in Action Pack This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2022-22577?
- CVE-2022-22577 affects actionpack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-22577 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2016-2098HIGH
actionpack allows remote code execution via application's unrestricted use of render method
- CVE-2021-22904HIGH
Possible DoS Vulnerability in Action Controller Token Authentication
- CVE-2020-8164HIGH
Possible Strong Parameters Bypass in ActionPack
- CVE-2015-7581HIGH
actionpack is vulnerable to denial of service because of a wildcard controller route
- CVE-2021-22903MEDIUM
Possible Open Redirect Vulnerability in Action Pack
- CVE-2023-22797MEDIUM
Open Redirect Vulnerability in Action Pack
- CVE-2024-26143MEDIUM
Rails has possible XSS Vulnerability in Action Controller
- CVE-2020-8185MEDIUM
Untrusted users can run pending migrations in production in Rails
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies