CVE catalog

CVE-2021-33621

ruby3.1: CVE-2021-33621

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.45% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1fixed
Debianruby3.1bookworm-security3.1.2-7+deb12u1fixed
Alpineruby3.142.7.7-r0fixed
Alpineruby3.153.0.5-r0fixed
Alpineruby3.163.1.3-r0fixed
Alpineruby3.173.1.3-r0fixed
Alpineruby3.183.1.3-r0fixed
Alpineruby3.193.1.3-r0fixed
Alpineruby3.203.1.3-r0fixed
Alpineruby3.213.1.3-r0fixed
Alpineruby3.223.1.3-r0fixed
Alpineruby3.233.1.3-r0fixed
Alpineruby3.243.1.3-r0fixed
Ubunturuby2.3pro2.3.0-1vulnerable
Ubunturuby2.3pro2.3.0-2vulnerable
Ubunturuby2.3pro2.3.0-4ubuntu2vulnerable
Ubunturuby2.3pro2.3.0-4ubuntu3vulnerable
Ubunturuby2.3pro2.3.0-5ubuntu1vulnerable
Ubunturuby2.3pro2.3.1-2~16.04vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.2vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.4vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.5vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.6vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.7vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.9vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.10vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.11vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.12vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.13vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.14vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.15vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm1vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm2vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm3vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm4fixed
Ubunturuby2.518.042.5.0~preview1-1ubuntu2vulnerable
Ubunturuby2.518.042.5.0-4ubuntu1vulnerable
Ubunturuby2.518.042.5.0-4ubuntu4vulnerable
Ubunturuby2.518.042.5.0-5ubuntu1vulnerable
Ubunturuby2.518.042.5.0-6ubuntu1vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.1vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.2vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.4vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.5vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.6vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.7vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.8vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.9vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.10vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.11vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.12vulnerable
Ubunturuby2.518.042.5.1-1ubuntu1.13fixed
Ubunturuby3.022.043.0.2-5ubuntu1vulnerable
Ubunturuby3.022.043.0.2-7vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.1vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.3fixed
Ubunturuby2.720.042.7.0-1vulnerable
Ubunturuby2.720.042.7.0-2vulnerable
Ubunturuby2.720.042.7.0-3vulnerable
Ubunturuby2.720.042.7.0-4vulnerable
Ubunturuby2.720.042.7.0-4ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.2vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.3vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.4vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.5vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.6vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.7vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.8fixed
Suseruby2.5linux enterprise module for basesystem 15 sp42.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise module for basesystem 15 sp52.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp1-ltss2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp2-ltss2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp3-espos2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise high performance computing 15 sp3-ltss2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise server 15 sp1-ltss2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise server 15 sp2-ltss2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise server 15 sp3-ltss2.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise server for sap applications 15 sp12.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise server for sap applications 15 sp22.5.9-150000.4.29.1fixed
Suseruby2.5linux enterprise server for sap applications 15 sp32.5.9-150000.4.29.1fixed
Suseruby2.5manager proxy 4.22.5.9-150000.4.29.1fixed
Suseruby2.5manager server 4.22.5.9-150000.4.29.1fixed
Suseruby2.5enterprise storage 7.12.5.9-150000.4.29.1fixed
Opensuseruby2.5leap 15.42.5.9-150000.4.29.1fixed
Opensuseruby2.5leap 15.52.5.9-150000.4.29.1fixed
Opensuseruby3.1tumbleweed3.1.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm3.1.2-4not yet assignedNot reported[1024799]
Alpinerubyapk3.142.7.7-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.153.0.5-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.163.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.173.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.183.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.193.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.203.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.213.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.223.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.233.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Alpinerubyapk3.243.1.3-r0Not reportedALPINE-CVE-2021-33621Not reported
Ubunturuby2.3debpro2.3.1-2~ubuntu16.04.16+esm4Not reportedUSN-5806-1Not reported
Ubunturuby2.5deb18.042.5.1-1ubuntu1.13Not reportedUSN-5806-2Not reported
Ubunturuby3.0deb22.043.0.2-7ubuntu2.3Not reportedUSN-5806-2Not reported
Ubunturuby2.7deb20.042.7.0-5ubuntu1.8Not reportedUSN-5806-3Not reported
Suseruby2.5rpmlinux enterprise module for basesystem 15 sp42.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise module for basesystem 15 sp52.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp1-ltss2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp2-ltss2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp3-espos2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise high performance computing 15 sp3-ltss2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise server 15 sp1-ltss2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise server 15 sp2-ltss2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise server 15 sp3-ltss2.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise server for sap applications 15 sp12.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise server for sap applications 15 sp22.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmlinux enterprise server for sap applications 15 sp32.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmmanager proxy 4.22.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmmanager server 4.22.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Suseruby2.5rpmenterprise storage 7.12.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Opensuseruby2.5rpmleap 15.42.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Opensuseruby2.5rpmleap 15.52.5.9-150000.4.29.1Not reportedSUSE-SU-2023:4176-1Not reported
Opensuseruby3.1rpmtumbleweed3.1.3-1.1Not reportedOPENSUSE-SU-2024:12539-1Not reported

[Debian bug #1024799]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libruby3.1]Fixed

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

  • [ruby3.1]Fixed
    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

  • Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

  • Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · all · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.1.2-4

      dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12

Observed:

References