dsilva2401/n158 · Security
n158 vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function
- GHSA ID
- GHSA-549h-r7g9-2qpf
- CVE ID
- CVE-2023-26127
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- 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')