Advisory

GHSA-vvh2-82c7-ppfg

Also known as: CVE-2024-21488

Summary

network Arbitrary Command Injection vulnerability

Details

Versions of the package network before 0.7.0 are vulnerable to Arbitrary Command Injection due to use of the child_process exec function without input sanitization. If (attacker-controlled) user input is given to the mac_address_for function of the package, it is possible for an attacker to execute arbitrary commands on the operating system that this package is being run on.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-01-30 06:30 UTC
Modified
2024-01-30 18:56 UTC

Affected packages and fixes

network

npm · All systems

Affected

  • introduced 0, fixed 0.7.0 (semver)

Fixed versions

0.7.0

Fix

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