// For flags

CVE-2020-28494

Command Injection

Severity Score

8.6
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

This affects the package total.js before 3.4.7. The issue occurs in the image.pipe and image.stream functions. The type parameter is used to build the command that is then executed using child_process.spawn. The issue occurs because child_process.spawn is called with the option shell set to true and because the type parameter is not properly sanitized.

Esto afecta al paquete total.js versiones anteriores a 3.4.7. El problema ocurre en las funciones image.pipe e image.stream. El parámetro type es usado para construir el comando que luego es ejecutado usando child_process.spawn. El problema ocurre porque child_process.spawn es llamado con la opción shell ajustada en true y porque el parámetro type no está apropiadamente saneado

*Credits: Alessio Dellalibera
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2020-11-12 CVE Reserved
  • 2021-02-02 CVE Published
  • 2024-06-07 EPSS Updated
  • 2024-09-16 CVE Updated
  • 2024-09-16 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Totaljs
Search vendor "Totaljs"
Total.js
Search vendor "Totaljs" for product "Total.js"
< 3.4.7
Search vendor "Totaljs" for product "Total.js" and version " < 3.4.7"
node.js
Affected