Arbitrary Code Execution Affecting rubocop package, versions <0.30.0 ,>=0.27.0
Snyk CVSS
Attack Complexity
Low
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-RUBOCOP-20459
- published 25 Dec 2017
- disclosed 25 Feb 2015
- credit Dan Croak
How to fix?
Upgrade rubocop
to version 0.30.0 or higher.
Overview
rubocop
is an automatic Ruby code style checking tool.
Affected versions of the package are vulnerable to Arbitrary Code Execution due to using the unsafe YAML.load
function.