CVE-2024-41123: DoS vulnerabilities in REXML

Posted by kou on 1 Aug 2024

There are some DoS vulnerabilities in REXML gem. These vulnerabilities have been assigned the CVE identifier CVE-2024-41123. We strongly recommend upgrading the REXML gem.

Details

When parsing an XML document that has many specific characters such as whitespace character, >] and ]>, REXML gem may take long time.

Please update REXML gem to version 3.3.3 or later.

Affected versions

  • REXML gem 3.3.2 or prior

Credits

Thanks to mprogrammer and scyoon for discovering these issues.

History

  • Originally published at 2024-08-01 03:00:00 (UTC)

Recent News

Ruby 4.1.0-preview1 Released

We are pleased to announce the release of Ruby 4.1.0-preview1. Ruby 4.1 introduces Ractor local GC, Windows support of YJIT, autoload_relative, and adds many improvements....

Posted by naruse on 12 Oct 2026

Ruby 3.4.11 Released

Ruby 3.4.11 has been released. This is a regular scheduled update release includes bugfixes.

Posted by nagachika on 23 Sep 2026

More News...