Selenium: Ruby bindings: Security vulnerability in rubyzip 1.2.1

Created on 25 Aug 2018  路  7Comments  路  Source: SeleniumHQ/selenium

Just FYI

I know it sounds like a deja-vu because of https://github.com/SeleniumHQ/selenium/issues/3728 but there's actually a separate issue with the library on version 1.2.1 listed on the NIST db: CVE-2018-1000544

The patch is not out yet but this is the thread where they are discussing it on rubyzip repo: https://github.com/rubyzip/rubyzip/pull/371

I tried to see if there's an alternative for this library but it doesn't seem to be any so even switching library (its usage is quite contained in the ruby bindings) is not an option.

C-rb

All 7 comments

I'll keep an eye on RubyZip issue and will bump version once there is a fix. Thank you for report!

https://github.com/rubyzip/rubyzip/pull/371 is now marked as Merged, is this ready to be updated?

@soundasleep You can update RubyZip by yourself - Selenium needs ~> 1.2 so 1.2.2 works just fine. Just do bundle update rubyzip.

@rhymes I feel like I should just keep the desired version as-is and not update it to >= 1.2.2. Do you have any objections? @titusfortner @lmtierney What do you guys think?

@p0deje the default on https://rubygems.org/gems/rubyzip has become gem 'rubyzip', '~> 1.2', '>= 1.2.2', I would consider using that..

Thank you!

@p0deje Are you gonna update the GEM located at rubygems.org? Because it seems like it's still referencing the old version of rubyzip.

@msdundar it will be updated when we do a new release. There has not been a new release since the change was made.

Was this page helpful?
0 / 5 - 0 ratings