CVE-2024-21488

Source
https://cve.org/CVERecord?id=CVE-2024-21488
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21488.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-21488
Aliases
Published
2024-01-30T05:00:01Z
Modified
2026-10-28T02:30:46Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P CVSS Calculator
Summary
[none]
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 the attacker to execute arbitrary commands on the operating system that this package is being run on.

Database specific
{
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-77"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21488.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "0.7.0"
                        },
                        {
                            "fixed": "*"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        },
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "0.7.0"
                        }
                    ],
                    "source": "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/tomas/network

Affected ranges

Type
GIT
Repo
https://github.com/tomas/network
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "fixed": "72c523265940fe279eb0050d441522628f8988e5"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "6ec8713580938ab4666df2f2d0f3399891ed2ad7"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "5599ed6d6ff1571a5ccadea775430c131f381de7"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.0.12
v0.3.0
v0.5.0
v0.6.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21488.json"