ruby-nokogiri vulnerability

Related Vulnerabilities: CVE-2019-5477  

Nokogiri could be made to execute programs if it received specially crafted input.

It was discovered that Nokogiri incorrectly handled inputs. A remote attacker could possibly use this issue to execute arbitrary OS commands.

5 November 2019

ruby-nokogiri vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 19.10
  • Ubuntu 19.04
  • Ubuntu 18.04 LTS
  • Ubuntu 16.04 LTS

Summary

Nokogiri could be made to execute programs if it received specially crafted input.

Software Description

  • ruby-nokogiri - HTML, XML, SAX, and Reader parser for Ruby

Details

It was discovered that Nokogiri incorrectly handled inputs. A remote attacker could possibly use this issue to execute arbitrary OS commands.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 19.10
ruby-nokogiri - 1.10.3+dfsg1-2ubuntu0.1
Ubuntu 19.04
ruby-nokogiri - 1.10.0+dfsg1-2ubuntu0.1
Ubuntu 18.04 LTS
ruby-nokogiri - 1.8.2-1ubuntu0.1
Ubuntu 16.04 LTS
ruby-nokogiri - 1.6.7.2-3ubuntu0.1

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system update will make all the necessary changes.

References