Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-13797

The macaddress module before 0.2.9 for Node.js is prone to an arbitrary command injection flaw, due to allowing unsanitized input to an exec (rather than execFile) call.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-13797
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:03 UTC · Revision 1

Source evidence

CVE-2018-13797

core-osv · Original source

Published 10 Jul 2018, 12:29 UTC

The macaddress module before 0.2.9 for Node.js is prone to an arbitrary command injection flaw, due to allowing unsanitized input to an exec (rather than execFile) call.

osv:CVE-2018-13797
Complete source record
{
  "id": "3135760f97a4e43ef72ac7b3fd80e8f7680067a651a9fb03b2f0d9b97e635c51",
  "url": "https://osv.dev/vulnerability/CVE-2018-13797",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-13797",
    "summary": "The macaddress module before 0.2.9 for Node.js is prone to an arbitrary command injection flaw, due to allowing unsanitized input to an exec (rather than execFile) call.",
    "evidence": "osv:CVE-2018-13797",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-13797",
      "aliases": [
        "CVE-2018-13797",
        "GHSA-pp57-mqmh-44h7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/scravy/node-macaddress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3379146455636d8e86ccb20fbff2912032d74e66"
                },
                {
                  "fixed": "358fd594adb196a86b94ac9c691f69fe5dad2332"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:node-macaddress_project:node-macaddress:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "358fd594adb196a86b94ac9c691f69fe5dad2332"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3379146455636d8e86ccb20fbff2912032d74e66"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.2.9"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.2.8",
            "0.2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13797.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:48.244049387Z",
      "provider": "osv",
      "references": [
        "https://github.com/scravy/node-macaddress/pull/20/",
        "https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332",
        "https://github.com/scravy/node-macaddress/releases/tag/0.2.9",
        "https://news.ycombinator.com/item?id=17283394"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-13797",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380817,
  "published_at": "2018-07-10T12:29:00.207+00:00"
}