ADVISORIES

Ubuntu Security Notice

USN-9148-1

ruby-mechanize vulnerability

Details

It was discovered that Mechanize used Kernel#open to open local files in several methods. If an application passed untrusted input as a local file name to one of these methods, an attacker could possibly use this issue to execute arbitrary commands.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSruby-mechanize
All versions before 2.7.3-1ubuntu0.1~esm1 (fixed in 2.7.3-1ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSruby-mechanize
All versions before 2.7.5-2ubuntu0.1~esm1 (fixed in 2.7.5-2ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSruby-mechanize
All versions before 2.7.6-1ubuntu0.1~esm1 (fixed in 2.7.6-1ubuntu0.1~esm1)

References