CVE-2021-41819
High
Description
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Ruby
PublishedJan 1, 2022
First seenJan 1, 2022
Weakness typeCWE-565CWE-565
How to fix
Update
- ruby-lang ruby2.7.5, 3.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | v ≤ 2.6.8, 2.7.0 ≤ v < 2.7.5, 3.0.0 ≤ v < 3.0.3 | 2.7.5, 3.0.3 |
| ruby-lang cgi | 0.1.0, 0.2.0, 0.3.0 | — |
| redhat software_collections | No range specified | — |
| redhat enterprise_linux | 8.0 | — |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
| suse linux_enterprise | 11.0, 12.0, 15.0 | — |
| opensuse factory | No range specified | — |
| opensuse leap | 15.2 | — |
| fedoraproject fedora | 34, 35 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.