RCE in N158 Project
CVE-2023-26127
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.009 · 62.1th percentile
- Published
- 2023-05-27
All versions of the package n158 are vulnerable to Command Injection due to improper input sanitization in the 'module.exports' 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.009, 62.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- N158 Project
- N158 — versions 0
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-N158-3183746 (Third Party Advisory)
- github.com/dsilva2401/n158/blob/master/src/cli/initProject.js#L8 (Broken Link)