# CVE-2025-54314: 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."

CVE-2025-54314 is fixed in 32 products on 1 platform, first by ALAS2023-2025-1124, released July 29, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-54314
- Priority: Routine
- CVSS: 2.8 (low)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 29, 2025
- Weakness: Improper Neutralization of Special Elements used in an OS Command (&#39;OS Command Injection&#39;)
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-54314

## Description

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-54314: 	Thor before 1.4.0 can construct an unsafe shell command from library input.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby3.2 amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-bundled-gems amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-bundled-gems-debuginfo amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-debuginfo amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-debugsource amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-default-gems amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-devel amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-doc amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-libs amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-libs-debuginfo amzn 2023 | 3.2.8-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-bigdecimal amzn 2023 | 3.1.3-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-bigdecimal-debuginfo amzn 2023 | 3.1.3-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-bundler amzn 2023 | 2.4.19-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-io-console amzn 2023 | 0.6.0-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-io-console-debuginfo amzn 2023 | 0.6.0-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-irb amzn 2023 | 1.6.2-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-json amzn 2023 | 2.6.3-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-json-debuginfo amzn 2023 | 2.6.3-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-minitest amzn 2023 | 5.25.1-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-power_assert amzn 2023 | 2.0.3-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-psych amzn 2023 | 5.0.1-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-psych-debuginfo amzn 2023 | 5.0.1-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-rake amzn 2023 | 13.0.6-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-rbs amzn 2023 | 2.8.2-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-rbs-debuginfo amzn 2023 | 2.8.2-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-rdoc amzn 2023 | 6.5.1.1-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-rexml amzn 2023 | 3.3.9-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-rss amzn 2023 | 0.3.1-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-test-unit amzn 2023 | 3.5.7-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygem-typeprof amzn 2023 | 0.21.3-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygems amzn 2023 | 3.4.19-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |
| Linux | ruby3.2-rubygems-devel amzn 2023 | 3.4.19-184.amzn2023.0.4 | [ALAS2023-2025-1124](https://patchblox.com/security/data/fix/linux/alas2023-2025-1124.md) | Jul 29, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
