Back to Database
Status published
Unknown
CVE-2021-41819
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie...
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-41819
Credits & Attribution
No credits recorded in the NVD database.
References
- 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
More from ruby-lang
View All →CVE-2025-27221
In the URI gem before 1.0.3 for Ruby, the URI...
Low
3.2
CVE-2025-27220
In the CGI gem before 0.4.2 for Ruby, a Regular...
Medium
4
CVE-2025-27219
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse...
Medium
5.8
CVE-2022-28739
There is a buffer over-read in Ruby before 2.6.10, 2.7.x...
High
7.5
CVE-2022-28738
A double free was found in the Regexp compiler in...
Critical
9.8
Affected Vendor
ruby-lang
View all reports →Affected Software
cgi, ruby, software collections, enterprise linux, debian linux, linux enterprise, factory, leap, fedora
Vulnerable Versions:
0.1.0, 0.2.0, 0.3.0, 0, 2.7.0, 3.0.0, 8.0, 9.0, 10.0, 11.0, 12.0, 15.0, 15.2, 34, 35
Timeline
Official Publish:
January 1st, 2022
Last Modified:
May 22nd, 2025
Added to House:
July 21st, 2026
CVSS Vectors
No vector data available
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.