{"id":"CVE-2021-33621","details":"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.","aliases":["BIT-ruby-2021-33621","BIT-ruby-min-2021-33621","GHSA-vc47-6rqg-c7f5"],"modified":"2026-04-10T04:34:31.531974Z","published":"2022-11-18T23:15:18.987Z","related":["ALSA-2023:3821","ALSA-2023:7025","ALSA-2024:1431","ALSA-2024:1576","ALSA-2024:3500","ALSA-2024:3838","CGA-qxj5-c8cc-w3rg","MGASA-2022-0454","SUSE-SU-2023:4176-1","openSUSE-SU-2024:12539-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQR7LWED6VAPD5ATYOBZIGJQPCUBRJBX/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/THVTYHHEOVLQFCFHWURZYO7PVUPBHRZD/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YACE6ORF2QBXXBK2V2CM36D7TZMEJVAS/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221228-0004/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-27"},{"type":"EVIDENCE","url":"https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruby/cgi","events":[{"introduced":"0"},{"fixed":"a390f83a8898c6260ddd24733991f4188db3878d"},{"introduced":"8f0b2571916ed143328c1834793fe8305b891e1a"},{"fixed":"95c7284455b9f39692fec84ecbf33fe396dae17a"},{"introduced":"95324433b41daf7f292ba84f15b355abb7105c40"},{"fixed":"daf88c2a7598739db987b3804a3952a67a5caf6c"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.1.0.2"},{"introduced":"0.2.0"},{"fixed":"0.2.2"},{"introduced":"0.3.0"},{"fixed":"0.3.5"}]}},{"type":"GIT","repo":"https://github.com/ruby/ruby","events":[{"introduced":"647ee6f091eafcce70ffb75ddf7e121e192ab217"},{"fixed":"168ec2b1e5ad0e4688e963d9de019557c78feed9"},{"introduced":"95aff214687a5e12c3eb57d056665741e734c188"},{"fixed":"ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf"},{"introduced":"fb4df44d1670e9d25aef6b235a7281199a177edb"},{"fixed":"1a6b16756e0ba6b95ab71a441357ed5484e33498"}],"database_specific":{"versions":[{"introduced":"2.7.0"},{"fixed":"2.7.7"},{"introduced":"3.0.0"},{"fixed":"3.0.5"},{"introduced":"3.1.0"},{"fixed":"3.1.3"}]}}],"versions":["v0.1.0","v0.1.0.1","v0.2.0","v0.2.1","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.3.4","v2_7_0","v2_7_1","v2_7_2","v2_7_3","v2_7_4","v2_7_5","v2_7_6","v3_0_0","v3_0_1","v3_0_2","v3_0_3","v3_0_4","v3_1_0","v3_1_1","v3_1_2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33621.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]},{"events":[{"introduced":"0"},{"last_affected":"37"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}