CVE-2023-26127
N158 Project N158 vulnerability
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.
Affected products
N158. The exact versions are in the references.
What to do now
- Check your exposureFind out whether N158 Project N158 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- security.snyk.io/vuln/SNYK-JS-N158-3183746 · Third Party Advisory
- github.com/dsilva2401/n158/blob/master/src/cli/initProject.js%23L8
- nvd.nist.gov/vuln/detail/CVE-2023-26127
- github.com/dsilva2401/n158/blob/master/src/cli/initProject.js#L8
- github.com/advisories/GHSA-549h-r7g9-2qpf
- nvd.nist.gov/vuln/detail/CVE-2023-26127
- cve.org/CVERecord?id=CVE-2023-26127
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.