Skip to content
pkgseek
Back to CVE search

CVE-2024-49761

high · 7.5

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks. Security Fix(es): * rexml: REXML ReDoS vulnerability (CVE-2024-49761) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

First indexed 10/28/2024View on NVD

Advisory Facts

Markdown

CVE-2024-49761 is rated HIGH (7.5), with 147 indexed affected package builds across 7 distributions.

Severity / Score
HIGH (7.5)
Affected builds
147
Affected distros
7
Distros with fixed_in
Alibaba Cloud Linux, AlmaLinux, openSUSE, Oracle Linux, Red Hat Enterprise Linux, Rocky Linux
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2024-49761?locale=en

Distribution-aware status

7
Distributions
147
Package/release records
17
Vendor advisories
135
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

147 affected package/release combinations
pcs
3x86_64
0.10.18-2.0.1.1.al8.5Fixed in 0.10.18-2.0.1.1.al8.6
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade pcs
pcs-snmp
3x86_64
0.10.18-2.0.1.1.al8.5Fixed in 0.10.18-2.0.1.1.al8.6
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade pcs-snmp
rubygem-bigdecimal
9aarch64, i686, x86_64
3.1.5-11.module_el9.9.0+369+a6e509a7Fixed in 3.1.5-145.module_el9.5.0+129+9ba7e8b1
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/3/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/2/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bigdecimal
rubygem-bundler
9noarch
2.2.33-171.el9_9Fixed in 3.0.7-163.el9_5
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/1/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/3/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/3/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bundler
rubygem-io-console
9aarch64, i686, x86_64
0.7.1-11.module_el9.9.0+369+a6e509a7Fixed in 3.0.7-163.el9_5
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-io-console
rubygem-irb
9noarch
1.3.5-171.el9_9Fixed in 3.0.7-163.el9_5
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 11/25/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-irb
rubygem-json
9aarch64, i686, x86_64
2.7.2-11.module_el9.9.0+369+a6e509a7Fixed in 3.0.7-163.el9_5
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/3/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-json
rubygem-power_assert
9noarch
1.2.1-171.el9_9Fixed in 3.0.7-163.el9_5
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/4/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-power_assert
rubygem-rbs
9aarch64, i686, noarch, x86_64
1.4.0-171.el9_9Fixed in 3.0.7-163.el9_5
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rbs
rubygem-rss
9noarch
0.2.9-171.el9_9Fixed in 3.0.7-163.el9_5
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rss
rubygem-typeprof
9noarch
0.15.2-171.el9_9Fixed in 3.0.7-163.el9_5
almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10858· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Installed RPM EVR sorts below the vendor updateinfo fixed EVR

Verified 12/5/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 7/16/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 8/14/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/19/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 11/29/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/3/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/4/2026

almalinuxALSA-2024:10860· Affected according to vendor evidence

Evidence basis: Official distribution record matches the exact indexed package version

Verified 12/5/2026

Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-typeprof
libruby2_5-2_5
15.6aarch64, ppc64le, s390x, x86_64
2.5.9-150000.4.32.1Fixed in 2.5.9-150000.4.36.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update libruby2_5-2_5
ruby2.5-devel
15.6aarch64, ppc64le, s390x, x86_64
2.5.9-150000.4.32.1Fixed in 2.5.9-150000.4.36.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-devel
ruby2.5-devel-extra
15.6aarch64, ppc64le, s390x, x86_64
2.5.9-150000.4.32.1Fixed in 2.5.9-150000.4.36.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-devel-extra
ruby2.5-doc-ri
15.6noarch
2.5.9-150000.4.32.1Fixed in 2.5.9-150000.4.36.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-doc-ri
ruby2.5-rubygem-rexml
15.6aarch64, ppc64le, s390x, x86_64
3.2.5-bp156.3.1Fixed in 3.3.9-bp156.4.3.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-rubygem-rexml
ruby2.5-rubygem-rexml-doc
15.6aarch64, ppc64le, s390x, x86_64
3.2.5-bp156.3.1Fixed in 3.3.9-bp156.4.3.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-rubygem-rexml-doc
ruby2.5-stdlib
15.6aarch64, ppc64le, s390x, x86_64
2.5.9-150000.4.32.1Fixed in 2.5.9-150000.4.36.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo zypper update ruby2.5-stdlib
ruby
8i686, x86_64
2.5.9-114.module+el8.10.0+91146+5b4feaceFixed in 3.1.7-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby
ruby-devel
8i686, x86_64
2.5.9-114.module+el8.10.0+91146+5b4feaceFixed in 3.1.7-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-devel
ruby-doc
8noarch
2.5.9-114.module+el8.10.0+91146+5b4feaceFixed in 3.1.7-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-doc
rubygem-bigdecimal
8i686, x86_64
1.3.4-114.module+el8.10.0+91146+5b4feaceFixed in 3.1.1-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-bigdecimal
rubygem-io-console
8i686, x86_64
0.4.6-114.module+el8.10.0+91146+5b4feaceFixed in 0.5.11-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-io-console
rubygem-json
8i686, x86_64
2.1.0-114.module+el8.10.0+91146+5b4feaceFixed in 2.6.1-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-json
rubygem-minitest
8noarch
5.10.3-114.module+el8.10.0+91146+5b4feaceFixed in 5.15.0-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-minitest
rubygem-power_assert
8noarch
1.1.1-114.module+el8.10.0+91146+5b4feaceFixed in 2.0.1-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-power_assert
rubygem-psych
8i686, x86_64
3.0.2-114.module+el8.10.0+91146+5b4feaceFixed in 4.0.4-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-psych
rubygem-rake
8noarch
12.3.3-114.module+el8.10.0+91146+5b4feaceFixed in 13.0.6-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rake
rubygem-rdoc
8noarch
6.0.1.1-114.module+el8.10.0+91146+5b4feaceFixed in 6.4.1.1-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-rdoc
rubygems
8noarch
2.7.6.3-114.module+el8.10.0+91146+5b4feaceFixed in 3.3.27-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygems
rubygems-devel
8noarch
2.7.6.3-114.module+el8.10.0+91146+5b4feaceFixed in 3.3.27-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygems-devel
rubygem-test-unit
8noarch
3.2.7-114.module+el8.10.0+91146+5b4feaceFixed in 3.5.3-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-test-unit
ruby-libs
8i686, x86_64
2.5.9-114.module+el8.10.0+91146+5b4feaceFixed in 3.1.7-145.module+el8.10.0+90550+7d8a4a30
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade ruby-libs
rubygem-mysql2
9x86_64
0.5.3-12.el9Fixed in 0.5.4-1.module+el9.1.0+20815+286161bd
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2
rubygem-pg
9x86_64
1.2.3-7.el9Fixed in 1.3.5-1.module+el9.1.0+20815+286161bd
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg
rubygem-mysql2
9.8x86_64
0.5.3-12.el9Fixed in 0.5.4-1.module+el9.1.0+15737+76195479
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-mysql2
rubygem-pg
9.8x86_64
1.2.3-7.el9Fixed in 1.3.5-1.module+el9.1.0+15737+76195479
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade rubygem-pg

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.