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

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-JS-BUNYAN-573166
  • published 24 Jun 2020
  • disclosed 24 Jun 2020
  • credit Unknown

Introduced: 24 Jun 2020

CVE NOT AVAILABLE CWE-94 Open this link 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
Expand this section

Snyk

Recommended
6.2 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None