Actions
Bug #22317
closedAlso 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??
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