Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942432 (CVE-2024-49761) - <dev-ruby/rexml-3.3.9: ReDos vulnerability
Summary: <dev-ruby/rexml-3.3.9: ReDos vulnerability
Status: CONFIRMED
Alias: CVE-2024-49761
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://www.ruby-lang.org/en/news/202...
Whiteboard: B3 [glsa?]
Keywords:
Depends on: 942433
Blocks:
  Show dependency tree
 
Reported: 2024-10-29 06:33 UTC by Hans de Graaff
Modified: 2024-11-11 11:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2024-10-29 06:33:18 UTC
here is a ReDoS vulnerability in REXML gem. This vulnerability has been assigned the CVE identifier CVE-2024-49761. We strongly recommend upgrading the REXML gem.

This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03.
Details

When parsing an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;).

Please update REXML gem to version 3.3.9 or later.
Affected versions

    REXML gem 3.3.8 or prior with Ruby 3.1 or prior
Comment 1 Hans de Graaff gentoo-dev Security 2024-10-29 06:34:29 UTC
Classifying this as a "B" since it only affects ruby 3.1 and that version is no longer the default and won't be present on new installs.
Comment 2 Larry the Git Cow gentoo-dev 2024-11-11 11:35:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ede35852d6d97a1235b2011098dcd5e5e6b468

commit 18ede35852d6d97a1235b2011098dcd5e5e6b468
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-11-11 11:34:46 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-11-11 11:34:59 +0000

    dev-ruby/rexml: drop 3.3.6, 3.3.7, 3.3.8
    
    Bug: https://bugs.gentoo.org/942432
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rexml/Manifest           |  3 ---
 dev-ruby/rexml/rexml-3.3.6.ebuild | 40 ---------------------------------------
 dev-ruby/rexml/rexml-3.3.7.ebuild | 40 ---------------------------------------
 dev-ruby/rexml/rexml-3.3.8.ebuild | 40 ---------------------------------------
 4 files changed, 123 deletions(-)