Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS01NDloLXI3ZzktMnFwZs4AAzft
n158 vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function
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.
Permalink: https://github.com/advisories/GHSA-549h-r7g9-2qpfJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01NDloLXI3ZzktMnFwZs4AAzft
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: 11 months ago
CVSS Score: 7.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-549h-r7g9-2qpf, CVE-2023-26127
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-26127
- https://github.com/dsilva2401/n158/blob/master/src/cli/initProject.js#L8
- https://security.snyk.io/vuln/SNYK-JS-N158-3183746
- https://github.com/advisories/GHSA-549h-r7g9-2qpf
Blast Radius: 2.3
Affected Packages
npm:n158
Dependent packages: 1Dependent repositories: 2
Downloads: 24 last month
Affected Version Ranges: <= 1.4.1
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.4.0, 1.4.1