You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-202107-17.xml

49 lines
1.6 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202107-17">
<title>Mechanize: Command injection</title>
<synopsis>A file named by an attacker being utilized by Mechanize could
result in arbitrary code execution.
</synopsis>
<product type="ebuild">mechanize</product>
<announced>2021-07-08</announced>
<revised count="1">2021-07-08</revised>
<bug>768609</bug>
<access>local, remote</access>
<affected>
<package name="dev-ruby/mechanize" auto="yes" arch="*">
<unaffected range="ge">2.7.7</unaffected>
<vulnerable range="lt">2.7.7</vulnerable>
</package>
</affected>
<background>
<p>Mechanize is a Ruby library used for automating interaction with
websites.
</p>
</background>
<description>
<p>Mechanize does not neutralize filename input and could allow arbitrary
code execution if an attacker can control filenames used by Mechanize.
</p>
</description>
<impact type="high">
<p>Please review the referenced CVE identifiers for details.</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All Mechanize users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-ruby/mechanize-2.7.7"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-21289">CVE-2021-21289</uri>
</references>
<metadata tag="requester" timestamp="2021-05-31T21:54:48Z">whissi</metadata>
<metadata tag="submitter" timestamp="2021-07-08T03:38:36Z">ajak</metadata>
</glsa>