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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Cgi | 0.1.0 |
| Ruby-Lang | Ruby | <= 2.6.8 |
| Redhat | Software Collections | - |
| Redhat | Enterprise Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Suse | Linux Enterprise | 11.0 |
| Opensuse | Factory | - |
| Opensuse | Leap | 15.2 |
| Fedoraproject | Fedora | 34 |
Related Weaknesses (CWE)
References
- https://hackerone.com/reports/910552Permissions RequiredThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202401-27
- https://security.netapp.com/advisory/ntap-20220121-0003/Third Party Advisory
- https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookiExploitVendor Advisory
- https://hackerone.com/reports/910552Permissions RequiredThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202401-27
- https://security.netapp.com/advisory/ntap-20220121-0003/Third Party Advisory
- https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookiExploitVendor Advisory
FAQ
What is CVE-2021-41819?
CVE-2021-41819 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 severe is CVE-2021-41819?
CVE-2021-41819 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-41819?
Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Cgi, Ruby-Lang Ruby, Redhat Software Collections, Redhat Enterprise Linux, Debian Debian Linux.