// For flags

CVE-2022-22577

rubygem-actionpack: Possible cross-site scripting vulnerability in Action Pack

Severity Score

6.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Una vulnerabilidad de tipo XSS en Action Pack versiones posteriores a 5.2.0 incluyéndola y versiones anteriores a 5.2.0, que podría permitir a un atacante omitir el CSP para conseguir respuestas que no sean HTML

A flaw was found in rubygem-actionpack where CSP headers were sent with responses that Rails considered "HTML" responses. This flaw allows an attacker to leave API requests without CSP headers and perform a Cross-site scripting attack.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-01-04 CVE Reserved
  • 2022-05-26 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-08-17 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Rubyonrails
Search vendor "Rubyonrails"
Actionpack
Search vendor "Rubyonrails" for product "Actionpack"
>= 5.2.0 < 5.2.7.1
Search vendor "Rubyonrails" for product "Actionpack" and version " >= 5.2.0 < 5.2.7.1"
ruby
Affected
Rubyonrails
Search vendor "Rubyonrails"
Actionpack
Search vendor "Rubyonrails" for product "Actionpack"
>= 6.0.0 < 6.0.4.8
Search vendor "Rubyonrails" for product "Actionpack" and version " >= 6.0.0 < 6.0.4.8"
ruby
Affected
Rubyonrails
Search vendor "Rubyonrails"
Actionpack
Search vendor "Rubyonrails" for product "Actionpack"
>= 6.1.0 < 6.1.5.1
Search vendor "Rubyonrails" for product "Actionpack" and version " >= 6.1.0 < 6.1.5.1"
ruby
Affected
Rubyonrails
Search vendor "Rubyonrails"
Actionpack
Search vendor "Rubyonrails" for product "Actionpack"
>= 7.0.0 < 7.0.2.4
Search vendor "Rubyonrails" for product "Actionpack" and version " >= 7.0.0 < 7.0.2.4"
ruby
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
10.0
Search vendor "Debian" for product "Debian Linux" and version "10.0"
-
Affected