CVE-2021-41819

Summary

CVECVE-2021-41819
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-01 06:15:00 UTC
Updated2024-01-24 05:15:00 UTC
DescriptionCGI::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.

Risk And Classification

Problem Types: CWE-565

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Opensuse Factory - All All All
Operating System Opensuse Leap 15.2 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Application Redhat Software Collections - All All All
Application Ruby-lang Cgi 0.1.0 All All All
Application Ruby-lang Cgi 0.2.0 All All All
Application Ruby-lang Cgi 0.3.0 All All All
Application Ruby-lang Ruby All All All All
Application Ruby-lang Ruby All All All All
Operating System Suse Linux Enterprise 11.0 sp1 All All
Operating System Suse Linux Enterprise 12.0 All All All
Operating System Suse Linux Enterprise 15.0 All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 35 Update: ruby-3.0.4-153.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
HackerOne MISC hackerone.com
[SECURITY] Fedora 35 Update: ruby-3.0.4-153.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: ruby-3.0.4-153.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE-2021-41819 Ruby Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
Ruby: Multiple vulnerabilities (GLSA 202401-27) — Gentoo security security.gentoo.org
[SECURITY] Fedora 34 Update: ruby-3.0.4-153.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse CONFIRM www.ruby-lang.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159635 Oracle Enterprise Linux Security Update for ruby:2.6 (ELSA-2022-0543)
  • 160020 Oracle Enterprise Linux Security Update for ruby:2.5 (ELSA-2022-5779)
  • 160091 Oracle Enterprise Linux Security Update for ruby:2.7 (ELSA-2022-6447)
  • 160095 Oracle Enterprise Linux Security Update for ruby:3.0 (ELSA-2022-6450)
  • 178965 Debian Security Update for ruby2.3 (DLA 2853-1)
  • 179050 Debian Security Update for ruby2.7 (DSA 5067-1)
  • 179051 Debian Security Update for ruby2.5 (DSA 5066-1)
  • 198635 Ubuntu Security Notification for Ruby Vulnerabilities (USN-5235-1)
  • 240090 Red Hat Update for ruby:2.6 (RHSA-2022:0544)
  • 240092 Red Hat Update for ruby:2.6 (RHSA-2022:0543)
  • 240116 Red Hat Update for rh-ruby26-ruby security (RHSA-2022:0708)
  • 240156 Red Hat Update for ruby:2.6 (RHSA-2022:0582)
  • 240571 Red Hat Update for ruby:2.5 (RHSA-2022:5779)
  • 240659 Red Hat Update for ruby:3.0 security (RHSA-2022:6450)
  • 240661 Red Hat Update for ruby:2.7 security (RHSA-2022:6447)
  • 240720 Red Hat Update for rh-ruby27-ruby security (RHSA-2022:6856)
  • 240723 Red Hat Update for rh-ruby30-ruby security (RHSA-2022:6855)
  • 282660 Fedora Security Update for ruby (FEDORA-2022-82a9edac27)
  • 282661 Fedora Security Update for ruby (FEDORA-2022-8cf0124add)
  • 296062 Oracle Solaris 11.4 Support Repository Update (SRU) 43.113.3 Missing (CPUJAN2022)
  • 356181 Amazon Linux Security Advisory for ruby : ALASRUBY3.0-2023-003
  • 356252 Amazon Linux Security Advisory for ruby : ALASRUBY2.6-2023-002
  • 356463 Amazon Linux Security Advisory for ruby : ALAS2RUBY3.0-2023-003
  • 357267 Amazon Linux Security Advisory for ruby : ALAS2-2024-2486
  • 500617 Alpine Linux Security Update for ruby
  • 502024 Alpine Linux Security Update for ruby
  • 504377 Alpine Linux Security Update for ruby
  • 671404 EulerOS Security Update for ruby (EulerOS-SA-2022-1337)
  • 671438 EulerOS Security Update for ruby (EulerOS-SA-2022-1361)
  • 671462 EulerOS Security Update for ruby (EulerOS-SA-2022-1437)
  • 671479 EulerOS Security Update for ruby (EulerOS-SA-2022-1458)
  • 671488 EulerOS Security Update for ruby (EulerOS-SA-2022-1515)
  • 671516 EulerOS Security Update for ruby (EulerOS-SA-2022-1496)
  • 671694 EulerOS Security Update for ruby (EulerOS-SA-2022-1761)
  • 690668 Free Berkeley Software Distribution (FreeBSD) Security Update for rubygem-cgi (4548ec97-4d38-11ec-a539-0800270512f4)
  • 710844 Gentoo Linux Ruby Multiple Vulnerabilities (GLSA 202401-27)
  • 752595 SUSE Enterprise Linux Security Update for ruby2.5 (SUSE-SU-2022:3292-1)
  • 900509 Common Base Linux Mariner (CBL-Mariner) Security Update for ruby (7116)
  • 901393 Common Base Linux Mariner (CBL-Mariner) Security Update for ruby (7126-1)
  • 940455 AlmaLinux Security Update for ruby:2.6 (ALSA-2022:0543)
  • 940614 AlmaLinux Security Update for ruby:2.5 (ALSA-2022:5779)
  • 940657 AlmaLinux Security Update for ruby:2.7 (ALSA-2022:6447)
  • 940849 AlmaLinux Security Update for ruby:3.0 (ALSA-2022:6450)
  • 960464 Rocky Linux Security Update for ruby:2.5 (RLSA-2022:5779)
  • 960588 Rocky Linux Security Update for ruby:2.7 (RLSA-2022:6447)
  • 960814 Rocky Linux Security Update for ruby:2.6 (RLSA-2022:0543)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report