Nokogiri: Command injection Nokogiri has a vulnerability allowing arbitrary execution of code if a certain function is used. Nokogiri 2020-06-13 2020-06-13 691974 remote 1.10.4 1.10.4

Nokogiri is an HTML, XML, SAX, and Reader parser.

A command injection vulnerability in Nokogiri allows commands to be executed in a subprocess by Ruby’s Kernel.open method. Processes are vulnerable only if the undocumented method Nokogiri::CSS::Tokenizer#load_file is being passed untrusted user input.

A remote attacker could possibly execute arbitrary code with the privileges of the process.

Avoid calling the undocumented method Nokogiri::CSS::Tokenizer#load_file with untrusted user input.

All Nokogiri users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-ruby/nokogiri-1.10.4"
CVE-2019-5477 Upstream bug BlueKnight sam_c