Skip to content
OpenAdvisories
Low · 2.8 CVE-2025-54314 EUVD-2025-21984GHSA-mqcp-p2hv-vw6x

Thor before 1.4.0 can construct an unsafe shell command from library input. NOTE: this is disputed by the Supplier because "the method that…

Published Jul 20, 2025 · Updated Aug 10, 2025 · Assigned by mitre

Description

Thor before 1.4.0 can construct an unsafe shell command from library input. NOTE: this is disputed by the Supplier because "the method that was fixed can only be used with arguments that are controlled by Thor, and there is no way an attacker can take control of those arguments."

Affected products

VendorProductAffectedFixed
rubyonrails Thor < 1.4.0 1.4.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-thor No fix yet —
Ubuntu 26.04 LTS ruby-thor No fix yet —
Ubuntu 25.10 ruby-thor No fix yet —
Ubuntu 24.04 LTS ruby-thor No fix yet —
Ubuntu 22.04 LTS ruby-thor No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ruby-thor No fix yet —
Ubuntu 18.04 LTS ruby-thor No fix yet —
Ubuntu 16.04 LTS ruby-thor No fix yet —
Ubuntu 14.04 LTS ruby-thor No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-thor 1.4.0-1.1 openSUSE-SU-2026:10366-1, openSUSE-SU-2025:15382-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ruby3.2 +5 3.2.8-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-bigdecimal 3.1.3-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-bundler 2.4.19-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-io-console 0.6.0-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-irb 1.6.2-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-json 2.6.3-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-minitest 5.25.1-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-power_assert 2.0.3-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-psych 5.0.1-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-rake 13.0.6-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-rbs 2.8.2-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-rdoc 6.5.1.1-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-rexml 3.3.9-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-rss 0.3.1-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-test-unit 3.5.7-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygem-typeprof 0.21.3-184.amzn2023.0.4 ALAS2023-2025-1124
Amazon Linux 2023 ruby3.2-rubygems +1 3.4.19-184.amzn2023.0.4 ALAS2023-2025-1124

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rubygem-thor No fix yet —
Azure Linux 2 (CBL-Mariner) rubygem-thor 1.2.1-3 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kube-fluentd-operator +3 1.18.2-r42 —

Advisories 4

References