ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-27220

CGI: ReDoS in CGI::Util#escapeElement

Moderate No fix available CVE-2025-27220

Details

A flaw was found in Ruby's CGI gem. The CGI::Util#escapeElement method is vulnerable to Regular expression Denial of Service (ReDoS), allowing a specially crafted input to cause a high CPU consumption.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6ruby
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-docs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-irb
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-rdoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-ri
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-tcltk
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-doc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-irb
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-tcltk
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-bigdecimal
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-io-console
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-json
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-minitest
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-psych
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-rake
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-rdoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygems
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygems-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8ruby
All versions, will not be fixed
Red Hat:enterprise_linux:8ruby-bundled-gems
All versions, will not be fixed
Red Hat:enterprise_linux:8ruby-default-gems
All versions, will not be fixed
Red Hat:enterprise_linux:8ruby-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8ruby-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8ruby-irb
All versions, will not be fixed
Red Hat:enterprise_linux:8ruby-libs
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-abrt
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-abrt-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-bigdecimal
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-bson
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-bson-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-bundler
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-bundler-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-did_you_mean
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-io-console
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-irb
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-json
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-minitest
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-mongo
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-mongo-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-mysql2
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-mysql2-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-net-telnet
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-openssl
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-pg
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-pg-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-power_assert
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-psych
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-racc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-rake
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-rbs
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-rdoc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-rexml
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-rss
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-test-unit
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-typeprof
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygem-xmlrpc
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygems
All versions, will not be fixed
Red Hat:enterprise_linux:8rubygems-devel
All versions, will not be fixed
Red Hat:enterprise_linux:9ruby
All versions, will not be fixed
Red Hat:enterprise_linux:9ruby-default-gems
All versions, will not be fixed
Red Hat:enterprise_linux:9ruby-devel
All versions, will not be fixed
Red Hat:enterprise_linux:9ruby-doc
All versions, will not be fixed
Red Hat:enterprise_linux:9ruby-libs
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-bigdecimal
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-bundler
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-io-console
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-irb
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-json
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-minitest
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-power_assert
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-psych
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-rake
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-rbs
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-rdoc
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-rexml
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-rss
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-test-unit
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygem-typeprof
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygems
All versions, will not be fixed
Red Hat:enterprise_linux:9rubygems-devel
All versions, will not be fixed

References