A Remote Command Execution (RCE) vulnerability was found in bunyan before 1.8.13 and 2.x before 2.0.3. The issue occurs because a user input is formatted inside a command that will be executed without any check.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
WS-2020-0217 - Medium Severity Vulnerability
Vulnerable Library - bunyan-1.8.12.tgz
a JSON logging library for node.js services
Library home page: https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz
Path to dependency file: /reaction/package.json
Path to vulnerable library: /node_modules/bunyan/package.json
Dependency Hierarchy: - logger-1.1.1.tgz (Root Library) - :x: **bunyan-1.8.12.tgz** (Vulnerable Library)
Found in HEAD commit: 2450a53b3c1e9c4d0113bf6588a7a8cf2f16571a
Found in base branch: master
Vulnerability Details
A Remote Command Execution (RCE) vulnerability was found in bunyan before 1.8.13 and 2.x before 2.0.3. The issue occurs because a user input is formatted inside a command that will be executed without any check.
Publish Date: 2020-06-27
URL: WS-2020-0217
CVSS 3 Score Details (6.2)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/trentm/node-bunyan/blob/master/CHANGES.md
Release Date: 2020-06-27
Fix Resolution (bunyan): 1.8.13
Direct dependency fix Resolution (@reactioncommerce/logger): 1.1.2
Step up your Open Source Security Game with Mend here