Patchwire CVEs, their patch status, and feeds to follow them

CVE-2021-41816

Fixed in a distro release EPSS 5%

CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.

Published 2022-02-06 · CVE record · OSV

Products: ruby-lang cgi, fedoraproject fedora

Fixed upstream

EcosystemPackageFixed in
RubyGemscgi0.3.1
RubyGemscgi0.2.1
RubyGemscgi0.1.0.1

Distro releases

ReleasePackageFixed in
Alpine 3.12ruby2.7.5-r0
Alpine 3.13ruby2.7.5-r0
Alpine 3.14ruby2.7.5-r0
Alpine 3.15ruby3.0.3-r0
Alpine 3.16ruby3.0.3-r0
Alpine 3.17ruby3.0.3-r0
Alpine 3.18ruby3.0.3-r0
Alpine 3.19ruby3.0.3-r0
Alpine 3.20ruby3.0.3-r0
Alpine 3.21ruby3.0.3-r0
Alpine 3.22ruby3.0.3-r0
Alpine 3.23ruby3.0.3-r0
Alpine 3.24ruby3.0.3-r0
Debian 11ruby2.72.7.4-1+deb11u1
Red Hat rhel software collections 3rh-ruby27-ruby0:2.7.6-131.el7
Red Hat rhel software collections 3rh-ruby27-ruby-debuginfo0:2.7.6-131.el7
Red Hat rhel software collections 3rh-ruby27-ruby-devel0:2.7.6-131.el7
Red Hat rhel software collections 3rh-ruby27-ruby-doc0:2.7.6-131.el7
Red Hat rhel software collections 3rh-ruby27-ruby-libs0:2.7.6-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-bigdecimal0:2.0.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-bundler0:2.2.24-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-did_you_mean0:1.4.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-io-console0:0.5.6-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-irb0:1.2.6-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-json0:2.3.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-minitest0:5.13.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-net-telnet0:0.2.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-openssl0:2.1.3-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-power_assert0:1.1.7-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-psych0:3.1.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-racc0:1.4.16-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-rake0:13.0.1-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-rdoc0:6.2.1.1-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-test-unit0:3.3.4-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygem-xmlrpc0:0.3.0-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygems0:3.1.6-131.el7
Red Hat rhel software collections 3rh-ruby27-rubygems-devel0:3.1.6-131.el7
Red Hat rhel software collections 3rh-ruby30-ruby0:3.0.4-149.el7
Red Hat rhel software collections 3rh-ruby30-ruby-debuginfo0:3.0.4-149.el7
Red Hat rhel software collections 3rh-ruby30-ruby-default-gems0:3.0.4-149.el7
Red Hat rhel software collections 3rh-ruby30-ruby-devel0:3.0.4-149.el7
Red Hat rhel software collections 3rh-ruby30-ruby-doc0:3.0.4-149.el7
Red Hat rhel software collections 3rh-ruby30-ruby-libs0:3.0.4-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-bigdecimal0:3.0.0-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-bundler0:2.2.33-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-io-console0:0.5.7-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-irb0:1.3.5-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-json0:2.5.1-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-minitest0:5.14.2-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-power_assert0:1.2.0-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-psych0:3.3.2-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-rake0:13.0.3-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-rbs0:1.4.0-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-rexml0:3.2.5-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-rss0:0.2.9-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-test-unit0:3.3.7-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygem-typeprof0:0.15.2-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygems0:3.2.33-149.el7
Red Hat rhel software collections 3rh-ruby30-rubygems-devel0:3.2.33-149.el7
Ubuntu 18.04 LTSruby2.52.5.1-1ubuntu1.11
Ubuntu 20.04 LTSruby2.72.7.0-5ubuntu1.6
Ubuntu 22.04 LTSruby3.03.0.2-7ubuntu2
Ubuntu Pro 16.04 LTSruby2.32.3.1-2~ubuntu16.04.16+esm2
openSUSE Tumbleweedruby2.72.7.5-1.1
openSUSE Tumbleweedruby3.03.0.3-1.1
openSUSE Tumbleweedruby3.13.1.0-1.1
openSUSE Tumbleweedruby3.23.2.1-1.1
openSUSE Tumbleweedruby3.33.3.0-1.2
openSUSE Tumbleweedruby3.43.4.1-1.1
openSUSE Tumbleweedruby4.04.0.0~preview2-1.1