Vulnerability in Ruby-Lang Cgi
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.032, 88.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Cgi — versions 0.1.0, 0.2.0, 0.3.0
- Ruby-Lang Ruby
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
- openSUSE Factory
- openSUSE Leap — versions 15.2
- Red Hat Enterprise Linux — versions 8.0
- Red Hat Software Collections
- SUSE Linux Enterprise — versions 11.0, 12.0, 15.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, lifeparticle/Ruby-Cheatsheet). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/910552 (Permissions Required, Third Party Advisory)
- www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse… (Exploit, Vendor Advisory)
- security.netapp.com/advisory/ntap-20220121-0003/ (Third Party Advisory)
- FEDORA-2022-82a9edac27 (vendor-advisory)
- FEDORA-2022-8cf0124add (vendor-advisory)
- GLSA-202401-27 (vendor-advisory)