Moderate: ruby:3.0 security, bug fix, and enhancement update
Summary
ALSA-2022:6450: Moderate: ruby:3.0 security, bug fix, and enhancement update. Affects ruby versions < 3.0.4-141.module_el8.6.0+3263+41cde0c0. Fixed in 3.0.4-141.module_el8.6.0+3263+41cde0c0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. The vulnerability affects the following packages: ruby, ruby-default-gems, ruby-devel, ruby-doc, ruby-libs, rubygem-abrt, rubygem-abrt-doc, rubygem-bigdecimal, rubygem-bundler, rubygem-io-console, rubygem-irb, rubygem-json, rubygem-minitest, rubygem-mysql2, rubygem-mysql2-doc, rubygem-pg, rubygem-pg-doc, rubygem-power_assert, rubygem-psych, rubygem-rake, rubygem-rbs, rubygem-rdoc, rubygem-rexml, rubygem-rss, rubygem-test-unit, rubygem-typeprof, rubygems, rubygems-devel.
Vulnerability Detail
The vulnerability includes the following security issues:
- Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)
- Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)
- Double free in Regexp compilation (CVE-2022-28738)
- Buffer overrun in String-to-Float conversion (CVE-2022-28739)
These vulnerabilities can lead to various consequences, including denial of service, spoofing, and memory corruption.
How To Fix
Minimum fixed version
3.0.4-141.module_el8.6.0+3263+41cde0c0
This is the first release that contains the fix.
sudo dnf update ruby
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
The ruby:3.0 security, bug fix, and enhancement update includes fixes for several vulnerabilities that can lead to denial of service, spoofing, and memory corruption. It is recommended to upgrade the affected packages to the latest version (ruby 3.0.4) to mitigate these vulnerabilities. For more information and support, please contact DevNack.com.
See every vulnerability recorded for ruby →
FAQ
These vulnerabilities can lead to denial of service, spoofing, and memory corruption.
No specific workarounds have been mentioned for these vulnerabilities.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by these vulnerabilities. Simply upload your manifest file (e.g., package-lock.json) and Vulert will provide real-time alerts for open-source vulnerabilities.
For more details about these vulnerabilities, including the impact, CVSS score, acknowledgments, and related information, refer to the CVE pages listed in the References section.
For further support on vulnerability remediation, you can contact info@devnack.com.
Related vulnerabilities
Recent vulnerabilities recorded for ruby.