CVE-2022-27777
tfm-rubygem-actionview: Possible cross-site scripting vulnerability in Action View tag helpers
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | actionview | <5.2.7.1>=6.0.0, <6.0.4.8>=6.1.0, <6.1.5.1>=7.0.0, <7.0.2.4 | 5.2.7.16.0.4.86.1.5.17.0.2.4~> 5.2.7, >= 5.2.7.1 |
Open a package to see all its vulnerabilities.
Operating systems · 13 fixes
Red Hat 2 releases · 2 packages
affected 1
eol 2
tfm-rubygem-actionview
actionview
| Release | Package | Fixed in |
|---|---|---|
| 7 | tfm-rubygem-actionview | affected |
| 7 | actionview | eol |
| 8 | actionview | eol |
SUSE Linux Enterprise 1 release · 2 packages
fixed 2
ruby2-5-rubygem-actionview-5-1
ruby2-5-rubygem-activesupport-5-1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | ruby2-5-rubygem-actionview-5-1 | 5.1.4-150000.3.6.1 | SUSE-SU-2023:2059-1 |
| 15.4 | ruby2-5-rubygem-activesupport-5-1 | 5.1.4-150000.3.9.1 | SUSE-SU-2022:3621-1 |
debian 5 releases · 1 package
fixed 5
rails
| Release | Package | Fixed in |
|---|---|---|
| 10 | rails | 2:5.2.2.1+dfsg-1+deb10u4 |
| 11 | rails | 2:6.0.3.7+dfsg-2+deb11u1 |
| 12 | rails | 2:6.1.6.1+dfsg-1 |
| 13 | rails | 2:6.1.6.1+dfsg-1 |
| 14 | rails | 2:6.1.6.1+dfsg-1 |
echo 1 release · 1 package
fixed 1
rails
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:6.1.6.1+dfsg-1 |
seal Red Hat 2 releases · 2 packages
fixed 2
python-jinja2
libsolv
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-jinja2 +1 | 2.7.2-4.el7+sp999 |
| 8 | libsolv +1 | 0.7.20-6.el8+sp999 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-27777
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/blob/7-0-stable/actionview/CHANGELOG.md#rails-7024-april-26-2022
- github.com https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml
- groups.google.com https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-27777
- rubyonrails.org 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
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.