CVE-2022-27777
high
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
8.0
Description
A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.
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 | actionview | <~> 5.2.7, >= 5.2.7.1 | ~> 5.2.7, >= 5.2.7.1 |
| RubyGems | actionview | <5.2.7.1 | 5.2.7.1 |
| RubyGems | actionview | >=6.0.0,<6.0.4.8 | 6.0.4.8 |
| RubyGems | actionview | >=6.1.0,<6.1.5.1 | 6.1.5.1 |
| RubyGems | actionview | >=7.0.0,<7.0.2.4 | 7.0.2.4 |
References
- https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw
- https://errata.rockylinux.org/RLSA-2023:2097
- https://www.suse.com/security/cve/CVE-2022-27777.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-27777
- https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85
- https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.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://www.debian.org/security/2023/dsa-5372
- https://security-tracker.debian.org/tracker/CVE-2022-27777
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.