CVE-2021-41819

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:cgi:0.1.0:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.2.0:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.3.0:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Configuration 4 (hide)

OR cpe:2.3:o:suse:linux_enterprise:11.0:sp1:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise:12.0:*:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise:15.0:*:*:*:*:*:*:*

Configuration 5 (hide)

OR cpe:2.3:a:opensuse:factory:-:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*

Configuration 6 (hide)

OR cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

History

21 Nov 2024, 06:26

Type Values Removed Values Added
References () https://hackerone.com/reports/910552 - Permissions Required, Third Party Advisory () https://hackerone.com/reports/910552 - Permissions Required, Third Party Advisory
References () 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/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/ -
References () https://security.gentoo.org/glsa/202401-27 - () https://security.gentoo.org/glsa/202401-27 -
References () https://security.netapp.com/advisory/ntap-20220121-0003/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20220121-0003/ - Third Party Advisory
References () https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/ - Exploit, Vendor Advisory () https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/ - Exploit, Vendor Advisory

24 Jan 2024, 05:15

Type Values Removed Values Added
References
  • () https://security.gentoo.org/glsa/202401-27 -

Information

Published : 2022-01-01 06:15

Updated : 2025-05-22 15:15


NVD link : CVE-2021-41819

Mitre link : CVE-2021-41819

CVE.ORG link : CVE-2021-41819


JSON object : View

Products Affected

debian

  • debian_linux

suse

  • linux_enterprise

redhat

  • enterprise_linux
  • software_collections

fedoraproject

  • fedora

ruby-lang

  • cgi
  • ruby

opensuse

  • factory
  • leap
CWE
CWE-565

Reliance on Cookies without Validation and Integrity Checking