nodejs-macaddress: improper input validation leading to command injection
Published Jul 10, 2018
9.8
CRITICALCVSS 3.0
EPSS 6.66%
Description
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.
Affected products
No data.
- < 0.2.9
No data.
Red Hat Advanced Cluster Management for Kubernetes 2
rhacm2/console-ui-rhel8
Not affected
Red Hat Quay 3
quay/quay-rhel8
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-ui-rhel8 | Not affected | n/a |
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | n/a |
macaddress
npm
Introduced 0 Fixed 0.2.9
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | macaddress | 0 | 0.2.9 |
Remediation
Red Hat statement
Red Hat Quay uses the macaddress module, but only as a development dependency, not at runtime reducing the impact on that product to low.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (32 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.66% (0.06664) | 93.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.66% (0.06664) | 93.01th | v5 (v2026.06.15) |
| Nov 21, 2025 | 11.81% (0.11814) | 93.43th | v4 (v2025.03.14) |
| Nov 18, 2025 | 31.95% (0.31948) | 96.58th | v4 (v2025.03.14) |
| Mar 30, 2025 | 12.41% (0.12412) | 93.28th | v4 (v2025.03.14) |
| Mar 29, 2025 | 16.43% (0.16428) | 91.50th | v4 (v2025.03.14) |
| Mar 28, 2025 | 12.41% (0.12412) | 93.29th | v4 (v2025.03.14) |
| Mar 27, 2025 | 16.43% (0.16428) | 93.96th | v4 (v2025.03.14) |
| Mar 20, 2025 | 12.41% (0.12412) | 93.36th | v4 (v2025.03.14) |
| Mar 19, 2025 | 16.43% (0.16428) | 94.08th | v4 (v2025.03.14) |
| Mar 17, 2025 | 12.41% (0.12412) | 93.35th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.10% (0.02100) | 88.82th | v3 (v2023.03.01) |
| Dec 12, 2024 | 0.57% (0.00574) | 78.69th | v3 (v2023.03.01) |
| Jun 22, 2024 | 0.32% (0.00324) | 70.84th | v3 (v2023.03.01) |
| Jun 7, 2024 | 0.33% (0.00330) | 71.06th | v3 (v2023.03.01) |
| May 24, 2024 | 0.32% (0.00319) | 70.45th | v3 (v2023.03.01) |
| May 10, 2024 | 0.27% (0.00272) | 67.75th | v3 (v2023.03.01) |
| Apr 12, 2024 | 0.22% (0.00221) | 59.84th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.21% (0.00206) | 57.81th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.23% (0.00232) | 60.39th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.57% (0.00574) | 75.38th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.52% (0.00523) | 73.71th | v3 (v2023.03.01) |
| Jul 4, 2023 | 0.39% (0.00387) | 69.46th | v3 (v2023.03.01) |
| May 8, 2023 | 0.31% (0.00307) | 65.32th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.41% (0.00415) | 70.02th | v3 (v2023.03.01) |
| Mar 6, 2023 | 15.35% (0.15351) | 95.97th | v2 (v2022.01.01) |
| Apr 1, 2022 | 15.35% (0.15351) | 95.60th | v2 (v2022.01.01) |
| Feb 4, 2022 | 15.35% (0.15351) | 91.59th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Sep 1, 2021 | 4.50% (0.04504) | 84.13th | v1 |
| Apr 14, 2021 | 4.50% (0.04504) | 0.00th | v1 |
References (11)
- https://access.redhat.com/security/cve/CVE-2018-13797 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1940750 Issue Tracking
- https://github.com/advisories/GHSA-pp57-mqmh-44h7 Advisory
- https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332 x_refsource_MISCPatchThird Party Advisory
- https://github.com/scravy/node-macaddress/pull/20 x_refsource_MISCThird Party Advisory
- https://github.com/scravy/node-macaddress/releases/tag/0.2.9 x_refsource_MISCPatchRelease NotesThird Party Advisory
- https://hackerone.com/reports/319467
- https://news.ycombinator.com/item?id=17283394 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-13797
- https://www.cve.org/CVERecord?id=CVE-2018-13797
- https://www.npmjs.com/advisories/654
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-13797 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1940750 | Issue Tracking | |
| https://github.com/advisories/GHSA-pp57-mqmh-44h7 | Advisory | |
| https://github.com/scravy/node-macaddress/commit/358fd594adb196a86b94ac9c691f69fe5dad2332 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/scravy/node-macaddress/pull/20 | x_refsource_MISCThird Party Advisory | |
| https://github.com/scravy/node-macaddress/releases/tag/0.2.9 | x_refsource_MISCPatchRelease NotesThird Party Advisory | |
| https://hackerone.com/reports/319467 | ||
| https://news.ycombinator.com/item?id=17283394 | x_refsource_MISCExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-13797 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-13797 | ||
| https://www.npmjs.com/advisories/654 |
Change history (0)
No recorded changes yet.