GitHub Advisoryadvisory · npm

GHSA-wxrx-pc44-rcgc keep-module-latest vulnerable to Command Injection due to missing input sanitization

HIGH Published 2023-05-27 Modified 2025-01-14 Official page ↗
Aliases
CVE-2023-26128
Ecosystem
npm
Packages
keep-module-latest
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20, CWE-77, CWE-78
Reviewed
2023-05-30

Affected packages

• npm keep-module-latest: <= 1.0.1 (no fix yet)

Description

All versions of the package keep-module-latest are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the installModule function. Note: To execute the code snippet and potentially exploit the vulnerability, the attacker needs to have the ability to run Node.js code within the target environment. This typically requires some level of access to the system or application hosting the Node.js environment.

Related

Alias · CVE (1)

  • CVE-2023-26128 All versions of the package keep-module-latest are vulnerable to Command Injection due to missing input sanitization or other checks and… vulnerability

Weakness · CWE (3)

  • CWE-20 Improper Input Validation weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References