CVE-2021-41819
Advisory lineage Upstream: 0 Downstream: 29
Modified
Published: 01 Jan 2022, 00:00
Last modified:22 May 2025, 15:00
Vulnerability Summary
Overall Risk (default)
medium
40/100 CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.77% LOW
1% probability +0.08%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
01 Jan 2022, 00:00
Published
Vulnerability first disclosed
22 May 2025, 15:00
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.77%• Percentile: 74%
Techniques & Countermeasures
- CWE-565•Reliance on Cookies without Validation and Integrity Checking
The product relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user.
Affected Systems
- debian•debian_linux
9.0 | 10.0 | 11.0
- fedoraproject•fedora
34 | 35
- opensuse•factory
na
- opensuse•leap
15.2
- redhat•enterprise_linux
8.0
- redhat•software_collections
na
- ruby-lang•cgi
0.1.0 | 0.2.0 | 0.3.0
- ruby-lang•ruby
≤ 2.6.8 | ≥ 2.7.0, < 2.7.5 | ≥ 3.0.0, < 3.0.3
- suse•linux_enterprise
11.0:sp1 | 12.0 | 15.0
References (6)
- https://hackerone.com/reports/910552
- https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/
- https://security.netapp.com/advisory/ntap-20220121-0003/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/
- https://security.gentoo.org/glsa/202401-27