CVE-2021-41819
Cookie Prefix Spoofing in CGI::Cookie.parse
7.5
HIGH
CVSS 3.1
EPSS 0.77%
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.
How to fix CVE-2021-41819
To remediate CVE-2021-41819, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.7.5-r0 or later
- Bitnami/ruby—upgrade to 2.6.9 or later
- —upgrade to 2.6.9 or later
- —upgrade to 2.7.4-1+deb11u1 or later
- —upgrade to 0.3.1 or later
Is CVE-2021-41819 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 2.7.5-r0
- from 0, < 2.6.9, >= 2.7.0, < 2.7.5, >= 3.0.0, < 3.0.3
- from 0, < 2.6.9, >= 2.7.0, < 2.7.5, >= 3.0.0, < 3.0.3
- from 0, < 2.7.4-1+deb11u1
- >= 0.3.0, < 0.3.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |