Skip to content

keep-module-latest vulnerable to Command Injection due to missing input sanitization

High severity GitHub Reviewed Published May 27, 2023 to the GitHub Advisory Database • Updated Nov 7, 2023

Package

npm keep-module-latest (npm)

Affected versions

<= 1.0.1

Patched versions

None

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.

References

Published by the National Vulnerability Database May 27, 2023
Published to the GitHub Advisory Database May 27, 2023
Reviewed May 30, 2023
Last updated Nov 7, 2023

Severity

High
8.4
/ 10

CVSS base metrics

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

CVE ID

CVE-2023-26128

GHSA ID

GHSA-wxrx-pc44-rcgc
Checking history
See something to contribute? Suggest improvements for this vulnerability.