CVEvulnerability
CVE-2021-41819
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-01-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-565
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.
Affected configurations
• ruby-lang cgi 0.1.0
• ruby-lang cgi 0.2.0
• ruby-lang cgi 0.3.0
• ruby-lang ruby (<= 2.6.8)
• ruby-lang ruby (>= 2.7.0 < 2.7.5)
• ruby-lang ruby (>= 3.0.0 < 3.0.3)
• redhat software collections
• redhat enterprise linux 8.0
• debian debian linux 9.0
• debian debian linux 10.0
• debian debian linux 11.0
• suse linux enterprise 11.0
• suse linux enterprise 12.0
• suse linux enterprise 15.0
• opensuse factory
• opensuse leap 15.2
• fedoraproject fedora 34
• fedoraproject fedora 35
Related
Weakness · CWE (1)
- CWE-565 Reliance on Cookies without Validation and Integrity Checking weakness
References
- https://hackerone.com/reports/910552 Permissions Required, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202401-27 security.gentoo.org
- 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-cookie-parse-cve-2021-41819/ Exploit, Vendor Advisory
- https://hackerone.com/reports/910552 Permissions Required, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202401-27 security.gentoo.org
- 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-cookie-parse-cve-2021-41819/ Exploit, Vendor Advisory