Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE-2024-21488
Summary
The package network versions prior to 0.7.0 are vulnerable to Arbitrary Command Injection due to the 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.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-77 - Command Injection
A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.
References
Advisory Timeline
- Published