portage-ng / portage / dev-ruby / mechanize / 2.12.0
portage-ng glsa
1 advisory reference dev-ruby/mechanize · none place version 2.12.0 in a vulnerable range
▸ GLSA 202107-17 Mechanize: Command injection this version unaffected high local, remote 2021-07-08

A file named by an attacker being utilized by Mechanize could result in arbitrary code execution.

Announced
2021-07-08
Revised
2021-07-08
Access
local, remote
Bugs
#768609
Advisory
https://security.gentoo.org/glsa/202107-17

Affected packages

PackageArchVulnerableUnaffected
dev-ruby/mechanize*< 2.7.7>= 2.7.7

Background

Mechanize is a Ruby library used for automating interaction with websites.

Description

Mechanize does not neutralize filename input and could allow arbitrary code execution if an attacker can control filenames used by Mechanize.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Mechanize users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/mechanize-2.7.7"

References