CVE-2021-41819: Debian Linux

High severity, CVSS 7.5. EPSS: 3.2% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Ruby-Lang Ruby, from 2.7.0, before 2.7.5: fixed in 2.7.5
  • Ruby-Lang Ruby, from 3.0.0, before 3.0.3: fixed in 3.0.3

Affected products

Affected packages

Published 2022-01-01. Last modified 2026-06-17.