Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-21488

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-21488
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 04:24 UTC · Revision 1

Source evidence

CVE-2024-21488

core-osv · Original source

Published 30 Jan 2024, 05:00 UTC

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.

osv:CVE-2024-21488
Complete source record
{
  "id": "8fbe86953a6313d43eefeff7c0fa4cca86c3601aafaef13644c54a388ca1c8a9",
  "url": "https://osv.dev/vulnerability/CVE-2024-21488",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-21488",
    "summary": "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.",
    "evidence": "osv:CVE-2024-21488",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-21488",
      "aliases": [
        "CVE-2024-21488",
        "GHSA-vvh2-82c7-ppfg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tomas/network",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "72c523265940fe279eb0050d441522628f8988e5"
                },
                {
                  "fixed": "6ec8713580938ab4666df2f2d0f3399891ed2ad7"
                },
                {
                  "fixed": "5599ed6d6ff1571a5ccadea775430c131f381de7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "72c523265940fe279eb0050d441522628f8988e5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6ec8713580938ab4666df2f2d0f3399891ed2ad7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5599ed6d6ff1571a5ccadea775430c131f381de7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.1",
            "v0.5.0",
            "v0.3.0",
            "v0.0.12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21488.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.476471392Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c",
        "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552",
        "https://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21488.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-21488",
        "https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7",
        "https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7",
        "https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77"
        ],
        "cna_assigner": "snyk",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.7.0"
                  },
                  {
                    "fixed": "*"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.7.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21488.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-21488",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514609,
  "published_at": "2024-01-30T05:00:01.547+00:00"
}