Vulnerability · Published May 27, 2023 · Assigned by snyk

CVE-2023-26127

High 7.8

In plain English

A high-severity OS command injection in n158. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities).

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.9%top 38.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn158no fix listedGHSA-549h-r7g9-2qpf

Affected products (as reported)

VendorProductVersions
n/a n158 0 – before *

Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P

References