All reports
High

Cookie Prefix Spoofing in CGI::Cookie.parse

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
RubyGemscgi
Affected versions
= 0.3.0
Fixed version
0.3.1
RubyGemscgi
Affected versions
= 0.2.0
Fixed version
0.2.1
RubyGemscgi
Affected versions
< 0.1.0.1
Fixed version
0.1.0.1

Exploitation

CVE-2021-41819

Probability of exploitation in the next 30 days: 3.20%

FIRST EPSS · 2026-11-21

Description

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.

Links

Credits

  • kir-b