NetSight
high7.5

CVE-2021-41819

Cookie Prefix Spoofing in CGI::Cookie.parse

Impact

CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem prior to versions 0.3.1, 0.2.1, 0.1.1, and 0.1.0.1 for Ruby.

Affected packages

EcosystemPackageAffectedFixed in
rubygemscgi= 0.3.00.3.1

Affected products

VendorProductAffected versions
Ruby-LangCgi
Versions 0.1.0, 0.2.0, 0.3.0
Ruby-LangRuby
through 2.6.8
from 2.7.0 before 2.7.5
from 3.0.0 before 3.0.3
RedhatSoftware Collections
All versions
RedhatEnterprise Linux
Version 8.0
DebianDebian Linux
Versions 9.0, 10.0, 11.0
SuseLinux Enterprise
Versions 11.0, 12.0, 15.0
OpensuseFactory
All versions
OpensuseLeap
Version 15.2
FedoraprojectFedora
Versions 34, 35

Weakness classification

References