CVE-2022-27777
high
CVSS v3
—
CVSS v2
—
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
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-27777
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-27777.html
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:2097
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rocky | 8 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 2:6.1.6.1+dfsg-1 |
| debian | bullseye | fixed | 2:6.0.3.7+dfsg-2+deb11u1 |
| debian | forky | fixed | 2:6.1.6.1+dfsg-1 |
| debian | sid | fixed | 2:6.1.6.1+dfsg-1 |
| debian | trixie | fixed | 2:6.1.6.1+dfsg-1 |
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
Verify integrity in audit chain (admin only). AS-IS.