Debian Security Advisory
DLA-2561-1 ruby-mechanize -- LTS security update
- Date Reported:
- 17 Feb 2021
- Affected Packages:
- ruby-mechanize
- Vulnerable:
- Yes
- Security database references:
- In Mitre's CVE dictionary: CVE-2021-21289.
- More information:
-
Mechanize is an open-source Ruby library that makes automated web interaction easy. In Mechanize, from v2.0.0 until v2.7.7, there is a command injection vulnerability.
Affected versions of Mechanize allow for OS commands to be injected using several classes' methods which implicitly use Ruby's Kernel#open method.
For Debian 9 stretch, this problem has been fixed in version 2.7.5-1+deb9u1.
We recommend that you upgrade your ruby-mechanize packages.
For the detailed security status of ruby-mechanize please refer to its security tracker page at: https://security-tracker.debian.org/tracker/ruby-mechanize
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS