Remote Code Execution (RCE) Affecting bunyan package, versions <1.8.13>=2.0.0 <2.0.3


Severity

Recommended
0.0
medium
0
10

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

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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BUNYAN-573166
  • published24 Jun 2020
  • disclosed24 Jun 2020
  • creditUnknown

Introduced: 24 Jun 2020

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

How to fix?

Upgrade bunyan to version 1.8.13, 2.0.3 or higher.

Overview

bunyan is an a JSON logging library for node.js services

Affected versions of this package are vulnerable to Remote Code Execution (RCE) via insecure command formatting which allowed creating a "hacked" file in the current dir.

CVSS Scores

version 3.1