CVE-2017-2096 — smalruby-editor
CRITICALCVE-2017-2096 is a critical-severity (CVSS 9.8) OS Command Injection vulnerability in smalruby-editor. A fix is available for smalruby-editor — see the affected versions and patch details below.
smalruby and smalruby-editor vulnerable to OS Command Injection
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
smalruby-editor💎smalrubyReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
smalruby-editor prior to 0.4.1 and smalruby prior to 0.1.11 allows remote attackers to execute arbitrary OS commands via unspecified vectors.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | smalruby-editor | all versions | 0.4.1bundle update smalruby-editor --conservative |
| 💎RubyGems | smalruby | all versions | 0.1.11bundle update smalruby --conservative |
Affected Products
smalruby-editorsmalrubyDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for smalruby-editor, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update smalruby-editor to 0.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-2096 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2017-2096 in your dependencies?
Find it across RubyGems, including transitive dependencies.