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-202006-05.xml

56 lines
1.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202006-05">
<title>Nokogiri: Command injection</title>
<synopsis>Nokogiri has a vulnerability allowing arbitrary execution of code
if a certain function is used.
</synopsis>
<product type="ebuild">Nokogiri</product>
<announced>2020-06-13</announced>
<revised count="1">2020-06-13</revised>
<bug>691974</bug>
<access>remote</access>
<affected>
<package name="dev-ruby/nokogiri" auto="yes" arch="*">
<unaffected range="ge">1.10.4</unaffected>
<vulnerable range="lt">1.10.4</vulnerable>
</package>
</affected>
<background>
<p>Nokogiri is an HTML, XML, SAX, and Reader parser.</p>
</background>
<description>
<p>A command injection vulnerability in Nokogiri allows commands to be
executed in a subprocess by Rubys Kernel.open method. Processes are
vulnerable only if the undocumented method
Nokogiri::CSS::Tokenizer#load_file is being passed untrusted user input.
</p>
</description>
<impact type="normal">
<p>A remote attacker could possibly execute arbitrary code with the
privileges of the process.
</p>
</impact>
<workaround>
<p>Avoid calling the undocumented method Nokogiri::CSS::Tokenizer#load_file
with untrusted user input.
</p>
</workaround>
<resolution>
<p>All Nokogiri users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-ruby/nokogiri-1.10.4"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/vuln/detail/CVE-2019-5477">CVE-2019-5477</uri>
<uri link="https://github.com/sparklemotion/nokogiri/issues/1915">Upstream
bug
</uri>
</references>
<metadata tag="requester" timestamp="2020-05-22T01:52:12Z">BlueKnight</metadata>
<metadata tag="submitter" timestamp="2020-06-13T01:06:32Z">sam_c</metadata>
</glsa>