{"cve":"CVE-2021-41819","nvd":{"published":"2022-01-01T06:15:07.293","modified":"2026-06-17T04:08:57.577","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-565"],"references":["https://hackerone.com/reports/910552","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/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/","https://security.gentoo.org/glsa/202401-27","https://security.netapp.com/advisory/ntap-20220121-0003/"],"products":["debian:debian_linux","fedoraproject:fedora","opensuse:factory","opensuse:leap","redhat:enterprise_linux","redhat:software_collections","ruby-lang:cgi","ruby-lang:ruby","suse:linux_enterprise"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-41819","score":0.03151,"percentile":0.87949,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4vf4-qmvg-mh7h","url":"https://osv.dev/vulnerability/GHSA-4vf4-qmvg-mh7h","summary":"Cookie Prefix Spoofing in CGI::Cookie.parse","modified":"2025-01-27T08:58:40.724504Z","packages":[{"ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[">=0.3.0 <0.3.1"],"fixed":["0.3.1"]},{"ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[">=0.2.0 <0.2.1"],"fixed":["0.2.1"]},{"ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":["<0.1.0.1"],"fixed":["0.1.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}