[Snyk] Security upgrade thor from 0.19.4 to 1.4.0#283
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-THOR-10843853
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the thor gem from version 0.19.4 to 1.4.0 to address a high-severity OS Command Injection vulnerability (SNYK-RUBY-THOR-10843853) with a score of 641. The upgrade represents a major version change that may introduce breaking changes requiring manual testing and potential code updates.
- Security fix for OS Command Injection vulnerability in thor gem
- Major version upgrade from 0.x to 1.x series
- Gemfile.lock update failure requires manual intervention
| gem 'terminal-table' | ||
| gem 'test-unit' | ||
| gem 'thor' | ||
| gem 'thor', '>= 1.4.0' |
There was a problem hiding this comment.
The version constraint '>= 1.4.0' allows any future version of thor, which could introduce breaking changes in major version upgrades. Consider using a more restrictive constraint like '~> 1.4.0' to limit to compatible patch/minor versions within the 1.x series.
| gem 'thor', '>= 1.4.0' | |
| gem 'thor', '~> 1.4.0' |
|
|



Snyk has created this PR to fix 1 vulnerabilities in the rubygems dependencies of this project.
Snyk changed the following file(s):
GemfileVulnerabilities that will be fixed with an upgrade:
SNYK-RUBY-THOR-10843853
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 OS Command Injection