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—
ProductRuby
PublishedJan 1, 2022
First seenJan 1, 2022
Weakness typeCWE-565CWE-565

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang rubyv ≤ 2.6.8, 2.7.0 ≤ v < 2.7.5, 3.0.0 ≤ v < 3.0.32.7.5, 3.0.3
ruby-lang cgi0.1.0, 0.2.0, 0.3.0—
redhat software_collectionsNo range specified—
redhat enterprise_linux8.0—
debian debian_linux9.0, 10.0, 11.0—
suse linux_enterprise11.0, 12.0, 15.0—
opensuse factoryNo range specified—
opensuse leap15.2—
fedoraproject fedora34, 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.