Mechanize can run commands on untrusted local file names
Original title: USN-9148-1: Mechanize vulnerability
Several methods used Kernel#open for local files; the notice names no CVE or fix.
Ubuntu published USN-9148-1 for a Mechanize vulnerability. 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 those methods, an attacker could possibly execute arbitrary commands. The snippet does not name a CVE, affected versions, or a fixed release.
Unconfirmed: No CVE, affected versions, or fixed release are stated in the snippet.
- Several Mechanize methods used Kernel#open to open local files.
- Untrusted local file names passed by an application can run commands.
- The notice does not name a CVE or a fixed version.
Impact: arbitrary command execution
| Product | Affected |
|---|---|
| Ubuntu Mechanize | — |
From the original article
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.
ubuntu.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.