Remote Code Execution (RCE)

Affecting bunyan package, versions <1.8.13 || >=2.0.0 <2.0.3

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

Upgrade bunyan to version 1.8.13, 2.0.3 or higher.

References

CVSS Score

6.2
medium severity
  • Attack Vector
    Local
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Credit
Unknown
CWE
CWE-94
Snyk ID
SNYK-JS-BUNYAN-573166
Disclosed
24 Jun, 2020
Published
24 Jun, 2020