USN-8137-1: Ruby vulnerability

Publication date

31 March 2026

Overview

Ruby could be made to expose sensitive information.


Packages

  • ruby2.3 - Object-oriented scripting language
  • ruby2.5 - Object-oriented scripting language
  • ruby2.7 - Object-oriented scripting language
  • ruby3.0 - Object-oriented scripting language
  • ruby3.2 - Object-oriented scripting language
  • ruby3.3 - Object-oriented scripting language

Details

It was discovered that the Ruby URI gem did not properly handle sensitive
information when combining URIs. A remote attacker could possibly use this
issue to leak authentication credentials.

It was discovered that the Ruby URI gem did not properly handle sensitive
information when combining URIs. A remote attacker could possibly use this
issue to leak authentication credentials.

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
25.10 questing libruby3.3 –  3.3.8-2ubuntu2.1
ruby3.3 –  3.3.8-2ubuntu2.1
24.04 LTS noble libruby3.2 –  3.2.3-1ubuntu0.24.04.7
ruby3.2 –  3.2.3-1ubuntu0.24.04.7
22.04 LTS jammy libruby3.0 –  3.0.2-7ubuntu2.12
ruby3.0 –  3.0.2-7ubuntu2.12
20.04 LTS focal libruby2.7 –  2.7.0-5ubuntu1.18+esm4  
ruby2.7 –  2.7.0-5ubuntu1.18+esm4  
18.04 LTS bionic libruby2.5 –  2.5.1-1ubuntu1.16+esm7  
ruby2.5 –  2.5.1-1ubuntu1.16+esm7  
16.04 LTS xenial libruby2.3 –  2.3.1-2~ubuntu16.04.16+esm12  
ruby2.3 –  2.3.1-2~ubuntu16.04.16+esm12  
ruby2.3-tcltk –  2.3.1-2~ubuntu16.04.16+esm12  

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 ›