GitHub Advisoryadvisory · npm

GHSA-fmf5-j5j9-99pp OS Command Injection in pulverizr

CRITICAL Published 2021-05-07 Modified 2023-09-06 Official page ↗
Aliases
CVE-2020-7604
Ecosystem
npm
Packages
pulverizr
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2021-05-04

Affected packages

• npm pulverizr: <= 0.7.0 (no fix yet)

Description

pulverizr through 0.7.0 allows execution of arbitrary commands. Within `lib/job.js`, the variable `filename` can be controlled by the attacker. This function uses the variable &quot;filename&quot; to construct the argument of the exec call without any sanitization. In order to successfully exploit this vulnerability, an attacker will need to create a new file with the same name as the attack command.

Related

Alias · CVE (1)

  • CVE-2020-7604 pulverizr through 0.7.0 allows execution of arbitrary commands. vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References