Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-macaddress
  4. ›
  5. CVE-2018-13797

CVE-2018-13797: OS Command Injection

July 10, 2018 (updated October 3, 2019)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2018-13797

Code Behaviors & Features

Detect and mitigate CVE-2018-13797 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.9

Fixed versions

  • 0.2.9

Solution

Upgrade to version 0.2.9 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/node-macaddress/CVE-2018-13797.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:47 +0000.