Moderate: ruby:2.7 security, bug fix, and enhancement update
Summary
ALSA-2022:6447: Moderate: ruby:2.7 security, bug fix, and enhancement update. Affects ruby versions < 2.7.6-138.module_el8.6.0+3263+904da987. Fixed in 2.7.6-138.module_el8.6.0+3263+904da987. 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-bson, rubygem-bson-doc, rubygem-bundler, rubygem-io-console, rubygem-irb, rubygem-json, rubygem-minitest, rubygem-mongo, rubygem-mongo-doc, rubygem-mysql2, rubygem-mysql2-doc, rubygem-net-telnet, rubygem-openssl, rubygem-pg, rubygem-pg-doc, rubygem-power_assert, rubygem-psych, rubygem-rake, rubygem-rdoc, rubygem-test-unit, rubygem-xmlrpc, rubygems, rubygems-devel.
Vulnerability Detail
The vulnerability includes three 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)
- Buffer overrun in String-to-Float conversion (CVE-2022-28739)
These vulnerabilities can potentially lead to denial of service attacks, cookie prefix spoofing, and buffer overrun, respectively. For more details about the security issues, including the impact and CVSS score, refer to the CVE pages listed in the References section.
How To Fix
Minimum fixed version
2.7.6-138.module_el8.6.0+3263+904da987
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
In conclusion, the ruby:2.7 security, bug fix, and enhancement update addresses three vulnerabilities that can potentially lead to denial of service attacks, cookie prefix spoofing, and buffer overrun. It is crucial to upgrade the affected packages to the fixed version to ensure the security and stability of the systems. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for ruby →
FAQ
These vulnerabilities can lead to denial of service attacks, cookie prefix spoofing, and buffer overrun, potentially compromising the security and stability of the affected systems.
No, there are no known workarounds for these vulnerabilities. It is recommended to upgrade to the fixed version.
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.
You can find more information about these vulnerabilities, including the impact, CVSS score, and acknowledgments, on the respective CVE pages listed in the References section.
To fix these vulnerabilities, it is recommended to upgrade the affected packages to the fixed version: ruby (2.7.6).
Related vulnerabilities
Recent vulnerabilities recorded for ruby.