Project

General

Profile

Actions

Bug #22317

closed

Also update lib/rubygems/vendor/resolv/lib/resolv.rb for CVE issue??

Bug #22317: Also update lib/rubygems/vendor/resolv/lib/resolv.rb for CVE issue??

Added by mtasaka (Mamoru TASAKA) 2 days ago. Updated 2 days ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:126729]

Description

Recently two CVE security issues are reported against resolv gem, and
looks like fixed resolv 0.7.2 was pushed into ruby_4_0 branch:

https://github.com/ruby/ruby/commit/2da9a6ef3f423fb85acfd5c41150bb22cdeb14ef

which updates lib/resolv.rb in ruby tree, which is finally included in released ruby 4.0.7 tarball.

However, there is another "resolv.rb" under lib/rubygems/vendor/resolv/lib/ in ruby 4.0.7 "tarball"
and it says the version is still 0.7.0, so looks like this is still affected by CVE issue.

https://github.com/ruby/ruby/blob/v4.0.7/lib/rubygems/vendor/resolv/lib/resolv.rb#L38

So propably the above file also needs updating??

Actions

Also available in: PDF Atom