Arbitrary Code Execution Affecting rubocop package, versions <0.30.0 ,>=0.27.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RUBOCOP-20459
  • published25 Dec 2017
  • disclosed25 Feb 2015
  • creditDan Croak

Introduced: 25 Feb 2015

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

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.

CVSS Scores

version 3.1