Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. keep-module-latest
  4. ›
  5. CVE-2023-26128

CVE-2023-26128: keep-module-latest vulnerable to Command Injection due to missing input sanitization

May 27, 2023 (updated January 14, 2025)

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

  • github.com/advisories/GHSA-wxrx-pc44-rcgc
  • github.com/liujunyang/keep-module-latest
  • github.com/liujunyang/keep-module-latest/blob/master/index.js%23L50
  • nvd.nist.gov/vuln/detail/CVE-2023-26128
  • security.snyk.io/vuln/SNYK-JS-KEEPMODULELATEST-3157165

Code Behaviors & Features

Detect and mitigate CVE-2023-26128 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 up to 1.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/keep-module-latest/CVE-2023-26128.yml

Spotted a mistake? Edit the file on GitLab.

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

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