Skip to content

OS Command Injection in pulverizr

Critical severity GitHub Reviewed Published May 7, 2021 to the GitHub Advisory Database • Updated Sep 6, 2023

Package

npm pulverizr (npm)

Affected versions

<= 0.7.0

Patched versions

None

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 "filename" 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.

References

Published by the National Vulnerability Database Mar 15, 2020
Reviewed May 4, 2021
Published to the GitHub Advisory Database May 7, 2021
Last updated Sep 6, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-7604

GHSA ID

GHSA-fmf5-j5j9-99pp

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.