USN-4922-1: Ruby vulnerability

Publication date

20 April 2021

Overview

Ruby incorrectly handled XML documents.


Packages

  • ruby2.3 - Object-oriented scripting language
  • ruby2.5 - Object-oriented scripting language
  • ruby2.7 - Object-oriented scripting language

Details

Juho Nurminen discovered that the REXML gem bundled with Ruby incorrectly
parsed and serialized XML documents. A remote attacker could possibly use
this issue to perform an XML round-trip attack.

Juho Nurminen discovered that the REXML gem bundled with Ruby incorrectly
parsed and serialized XML documents. A remote attacker could possibly use
this issue to perform an XML round-trip attack.

Update instructions

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
20.10 groovy libruby2.7 –  2.7.1-3ubuntu1.3
ruby2.7 –  2.7.1-3ubuntu1.3
20.04 focal libruby2.7 –  2.7.0-5ubuntu1.4
ruby2.7 –  2.7.0-5ubuntu1.4
18.04 bionic libruby2.5 –  2.5.1-1ubuntu1.9
ruby2.5 –  2.5.1-1ubuntu1.9
16.04 xenial libruby2.3 –  2.3.1-2~ubuntu16.04.16
ruby2.3 –  2.3.1-2~ubuntu16.04.16

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›