{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-33621","published":"2022-11-18T23:15:18.987000Z","last_modified":"2026-06-17T03:54:52.923000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-74"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"cgi","version_end_excluding":"0.1.0.2"},{"criteria":"cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"cgi","version_start_including":"0.2.0","version_end_excluding":"0.2.2"},{"criteria":"cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*","part":"a","vendor":"ruby-lang","product":"cgi","version_start_including":"0.3.0","version_end_excluding":"0.3.5"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"36"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"37"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"2.7.0","version_end_excluding":"2.7.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"3.0.0","version_end_excluding":"3.0.5"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_start_including":"3.1.0","version_end_excluding":"3.1.3"}],"cpes_truncated":false,"vendors":["ruby-lang","fedoraproject"],"products":["ruby-lang/cgi","fedoraproject/fedora","ruby-lang/ruby"],"epss":{"score":0.0306,"percentile":0.88356,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vc47-6rqg-c7f5","ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[{"introduced":"0.3.0","fixed":"0.3.5"}],"versions":["0.3.0","0.3.1","0.3.2","0.3.3","0.3.4"],"versions_truncated":false},{"advisory":"GHSA-vc47-6rqg-c7f5","ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[{"introduced":"0.2.0","fixed":"0.2.2"}],"versions":["0.2.0","0.2.1"],"versions_truncated":false},{"advisory":"GHSA-vc47-6rqg-c7f5","ecosystem":"RubyGems","name":"cgi","purl":"pkg:gem/cgi","ranges":[{"introduced":"0","fixed":"0.1.0.2"}],"versions":["0.1.0","0.1.0.1"],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2021-33621/","html_en":"/en/cve/CVE-2021-33621/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-33621","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-33621"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Cgi","desc_en":"The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.","affected":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBX/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZD/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVAS/","tags":[]},{"url":"https://security.gentoo.org/glsa/202401-27","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221228-0004/","tags":["Third Party Advisory"]},{"url":"https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html","tags":[]}]}}