CVE-2023-26128
8.4high
keep-module-latest vulnerable to Command Injection due to missing input sanitization
- Severity
- 8.4high CVSS:3.1 by snyk
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-wxrx-pc44-rcgc
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keep-module-latest | before * | CVE List |
| keep-module-latest (npm) | up to 1.0.1 | GitHub Advisory Database |
| keep-module-latest_project keep-module-latest | Not specified | NVD |
All scores
| snyk | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
References
| https://security.snyk.io/vuln/SNYK-JS-KEEPMODULELATEST-3157165 | exploit, third-party-advisory, web | |
| https://github.com/liujunyang/keep-module-latest/blob/master/index.js%23L50 | broken-link, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-26128 | advisory | |
| https://github.com/liujunyang/keep-module-latest | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26128 changed 2025-01-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wxrx-pc44-rcgc changed 2025-01-14 | CC-BY-4.0 |
| NVD | CVE-2023-26128 changed 2026-06-17 | Public domain |