Back Linuxsecurity Ubuntu Mechanize Fix for Untrusted File Input
Critical WordPress Flaw Exploited in the Wild: Learn how to protect your site and check your core update window. ×
Mechanize could be made to run programs if it received specially crafted input. Software Description: - ruby-mechanize: library used for automating interaction with websites 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.
Mechanize could be made to run programs if it received specially crafted
Software Description:
- ruby-mechanize: library used for automating interaction with websites
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.
The problem can be corrected by updating your system to the following package versions: Ubuntu 20.04 LTS ruby-mechanize 2.7.6-1ubuntu0.1~esm1 Available with Ubuntu Pro Ubuntu 18.04 LTS ruby-mechanize 2.7.5-2ubuntu0.1~esm1 Available with Ubuntu Pro Ubuntu 16.04 LTS ruby-mechanize 2.7.3-1ubuntu0.1~esm1 Available with Ubuntu Pro In general, a standard system update will make all the necessary changes.
Ubuntu Security Notice USN-9148-1
Get the latest News and Insights
Get the latest Linux and open source security news straight to your inbox.
Linux Security - Your source for Top Linux News, Advisories, HOWTOs and Feature Releases
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
