DLA-2561-1
Active Unknownruby-mechanize - security update
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2021-21289 | Listed by advisoryExact relationship valueadvisory_list | Dsa/dla Structured Text ListExact field valueDSA/DLA structured-text list | https://security-tracker.debian.org/tracker/CVE-2021-21289 |
Description
CVE-2021-21289: Mechanize is an open-source ruby library that makes automated web interaction easy. In Mechanize from version 2.0.0 and before version 2.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. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls: Mechanize::CookieJar#load, Mechanize::CookieJar#save_as, Mechanize#download, Mechanize::Download#save, Mechanize::File#save, and Mechanize::FileResponse#read_body. This is fixed in version 2.7.7.
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to this occurrence- Package role
- Source package
- Ecosystem
- Debian:stretch
- Fixed version
- 2.7.5-1+deb9u1
Affected ranges and events
-
ECOSYSTEM
- Fixed at 2.7.5-1+deb9u1
-
1ruby-mechanizeSource package
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- DLA-2561-1 https://www.debian.org/lts/security/2021/dla-2561
- CVE-2021-21289 https://security-tracker.debian.org/tracker/CVE-2021-21289
Provenance
- Schema version
- Unknown
- Parser version
- debian-dsa-dla-tracker/1
- Attribution
- Debian Security Team
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| structured_advisory_list | https://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DLA/list | Unknown | 27a5db79ab3075da20cf15763a0195313c233ffcc212aeeaded934ce72d74fbf | debian-dsa-dla-tracker/1 | Unknown |