Your submission was sent successfully! Close

USN-4922-1: Ruby vulnerability

20 April 2021

Ruby incorrectly handled XML documents.



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


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

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

Ubuntu 20.10
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 16.04

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


Related notices

  • USN-4922-2: ruby2.7, libruby2.7, ruby2.7-doc, ruby2.7-dev