Advisory

GHSA-549h-r7g9-2qpf

Also known as: CVE-2023-26127

Summary

n158 vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-05-27 06:30 UTC
Modified
2025-01-14 15:51 UTC

Affected packages and fixes

n158

npm · All systems

Affected

  • introduced 0, last affected 1.4.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences