Bug 1438736 - Rebase to the latest Ruby 2.4 point release [rhscl-3.1]
Summary: Rebase to the latest Ruby 2.4 point release [rhscl-3.1]
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: ruby
Version: rh-ruby24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1
Assignee: Vít Ondruch
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 1506785
TreeView+ depends on / blocked
 
Reported: 2017-04-04 10:21 UTC by Vít Ondruch
Modified: 2020-06-18 13:24 UTC (History)
8 users (show)

Fixed In Version: rh-ruby24-ruby-2.4.2-86.el6, rh-ruby24-ruby-2.4.2-86.el7
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1506785 (view as bug list)
Environment:
Last Closed: 2020-06-18 13:24:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2017-04-04 10:21:47 UTC
We should consider rebase to the latest Ruby 2.4 release:

https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/

Comment 4 Pavel Valena 2017-09-15 15:54:15 UTC
Latest Ruby 2.4 release:
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-4-2-released/

Contains fixes for:
 - Bug CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf
 - Bug CVE-2017-10784: Escape sequence injection vulnerability in the Basic authentication of WEBrick
 - Bug CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 decode
 - Bug CVE-2017-14064: Heap exposure in generating JSON
 - Multiple vulnerabilities in RubyGems

Comment 5 Joe Rafaniello 2017-09-20 20:12:47 UTC
We should really ship ruby 2.4.2 with SCL.  What can we do to get traction on this?

2.4.0 and 2.4.1 have serious bugs affecting ManageIQ and probably other people. We cannot use ruby 2.4 from SCL in ManageIQ/CloudForms unless it's rebased to 2.4.2+.

1) When executing instance_exec with symbol.to_proc, it ignores first argument
https://bugs.ruby-lang.org/issues/13074

This breaks factory_girl and other instance_exec code: https://github.com/thoughtbot/factory_girl/issues/980
Fixed in 2.4.1

2) Memory leak recycling stacks for threads in 2.4.1
https://bugs.ruby-lang.org/issues/13772

Unbound memory growth in 2.4.1 affecting rest-client and possibly other code run in threads.

https://github.com/rest-client/rest-client/issues/611
Fixed in ruby 2.4.2.

3) Additionally, the above mentioned CVEs.

Comment 6 Honza Horak 2017-09-21 06:46:00 UTC
I think async update would make sense here. What is the urgency of this request, Joe?


Note You need to log in before you can comment on or make changes to this bug.