summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/glsa/glsa-202107-17.xml')
-rw-r--r--metadata/glsa/glsa-202107-17.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-202107-17.xml b/metadata/glsa/glsa-202107-17.xml
new file mode 100644
index 000000000000..4646661b6380
--- /dev/null
+++ b/metadata/glsa/glsa-202107-17.xml
@@ -0,0 +1,48 @@
+<?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>