Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. roar-pidusage
  4. ›
  5. CVE-2021-23380

CVE-2021-23380: Command Injection

April 18, 2021 (updated June 28, 2022)

If attacker-controlled user input is given to the stat function of this package on certain operating systems, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-23380

Code Behaviors & Features

Detect and mitigate CVE-2021-23380 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/roar-pidusage/CVE-2021-23380.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:57 +0000.