CVE-2022-22577
high
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
8.0
Description
An XSS Vulnerability in Action Pack >= 5.2.0 and < 5.2.0 that could allow an attacker to bypass CSP for non HTML like responses.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2:6.1.6.1+dfsg-1 |
| sid | Fixed | 2:6.1.6.1+dfsg-1 |
| forky | Fixed | 2:6.1.6.1+dfsg-1 |
| bullseye | Fixed | 2:6.0.3.7+dfsg-2+deb11u1 |
| bookworm | Fixed | 2:6.1.6.1+dfsg-1 |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | actionpack | !< 5.2.0||<~> 5.2.7, >= 5.2.7.1 | ~> 5.2.7, >= 5.2.7.1 |
| RubyGems | actionpack | >=5.2.0,<5.2.7.1 | 5.2.7.1 |
| RubyGems | actionpack | >=6.0.0,<6.0.4.8 | 6.0.4.8 |
| RubyGems | actionpack | >=6.1.0,<6.1.5.1 | 6.1.5.1 |
| RubyGems | actionpack | >=7.0.0,<7.0.2.4 | 7.0.2.4 |
References
- https://groups.google.com/g/ruby-security-ann/c/NuFRKaN5swI
- https://errata.rockylinux.org/RLSA-2023:2097
- https://www.suse.com/security/cve/CVE-2022-22577.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-22577
- https://github.com/rails/rails/pull/44635
- https://github.com/rails/rails/commit/2b820a2a69fa50cffa74b4aedc57bf92ed6910ec
- https://github.com/rails/rails/commit/5299b57d596ea274f77f5ffee2b79c6ee0255508
- https://github.com/rails/rails/commit/8198d7c4accad0b6ba956b9d59528534a289866b
- https://github.com/rails/rails/commit/d2253115ac2b30f5f7210670af906cebf79cf809
- https://discuss.rubyonrails.org/t/cve-2022-22577-possible-xss-vulnerability-in-action-pack/80533
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2022-22577.yml
- https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- 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-released
- https://security.netapp.com/advisory/ntap-20221118-0002
- https://www.debian.org/security/2023/dsa-5372
- https://security-tracker.debian.org/tracker/CVE-2022-22577
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.