All vulnerabilities

Servers and applications

CVE-2021-41819

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.

Severity
High 7.5
Published
1 Jan 2022
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
2.7.5, 3.0.3
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Every version up to 2.6.8
  • From 2.7.0 before 2.7.5
  • From 3.0.0 before 3.0.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-41819
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-41819