USN-7747-1: RubyGems vulnerability

Publication date

15 September 2025

Overview

RubyGems could be made to consume resources if it received specially crafted input.

Releases


Packages

  • rubygems - package management framework for Ruby libraries/applications

Details

It was discovered that RubyGems incorrectly handled certain regular
expressions. An attacker could possibly use this issue to cause RubyGems to
consume resources, leading to a regular expression denial of service
(ReDoS).

It was discovered that RubyGems incorrectly handled certain regular
expressions. An attacker could possibly use this issue to cause RubyGems to
consume resources, leading to a regular expression denial of service
(ReDoS).

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
22.04 jammy ruby-bundler –  2.3.5-2ubuntu1.2

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 ›