{"id":"BIT-ruby-2021-41819","details":"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.","aliases":["BIT-ruby-min-2021-41819","CVE-2021-41819","GHSA-4vf4-qmvg-mh7h"],"modified":"2025-04-03T14:40:37.652Z","published":"2024-03-06T11:04:36.665Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/910552"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUXQCH6FRKANCVZO2Q7D2SQX33FP3KWN/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UTOJGS5IEFDK3UOO7IY4OTTFGHGLSWZF/"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-27"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220121-0003/"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41819"}],"affected":[{"package":{"name":"ruby","ecosystem":"Bitnami","purl":"pkg:bitnami/ruby"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.6.9"},{"introduced":"2.7.0"},{"fixed":"2.7.5"},{"introduced":"3.0.0"},{"fixed":"3.0.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/ruby/BIT-ruby-2021-41819.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}],"schema_version":"1.7.3"}