nodejs-sshpk: ReDoS when parsing crafted invalid public keys in lib/formats/ssh.js
Published Jun 7, 2018
7.5
HIGHCVSS 3.1
EPSS 1.74%
Description
sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.
Affected products
-
- Version Versions up to and including 1.13.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Sshpk Node Module | n/a |
|
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-nodejs8-nodejs-0:8.17.0-2.el7
Fixed · RHSA-2020:2625
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-nodejs8-nodejs-0:8.17.0-2.el7
Fixed · RHSA-2020:2625
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-nodejs8-nodejs-0:8.17.0-2.el7
Fixed · RHSA-2020:2625
Red Hat Enterprise Linux 8
nodejs:10/nodejs
Not affected
Red Hat Mobile Application Platform 4
nodejs-sshpk
Not affected
Red Hat Quay 3
quay/quay-rhel8
Fix deferred
Red Hat Software Collections
rh-nodejs10-nodejs
Not affected
Red Hat Software Collections
rh-nodejs6-nodejs-sshpk
Will not fix
Red Hat Virtualization 4
ovirt-engine-api-explorer
Not affected
Red Hat Virtualization 4
ovirt-engine-dashboard
Not affected
Red Hat Virtualization 4
ovirt-engine-ui-extensions
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-nodejs8-nodejs-0:8.17.0-2.el7 | Fixed | RHSA-2020:2625 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-nodejs8-nodejs-0:8.17.0-2.el7 | Fixed | RHSA-2020:2625 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-nodejs8-nodejs-0:8.17.0-2.el7 | Fixed | RHSA-2020:2625 |
| Red Hat Enterprise Linux 8 | nodejs:10/nodejs | Not affected | n/a |
| Red Hat Mobile Application Platform 4 | nodejs-sshpk | Not affected | n/a |
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | n/a |
| Red Hat Software Collections | rh-nodejs10-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs-sshpk | Will not fix | n/a |
| Red Hat Virtualization 4 | ovirt-engine-api-explorer | Not affected | n/a |
| Red Hat Virtualization 4 | ovirt-engine-dashboard | Not affected | n/a |
| Red Hat Virtualization 4 | ovirt-engine-ui-extensions | Not affected | n/a |
sshpk
npm
Introduced 0 Fixed 1.13.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | sshpk | 0 | 1.13.2 |
Remediation
Red Hat statement
Red Hat Quay includes sshpk as a dependency of protractor which is only used during a build. The sshpk dependency is not used at runtime therefore this vulnerability has a low impact for Red Hat Quay.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/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 (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.74% (0.01738) | 76.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.74% (0.01738) | 74.68th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.68% (0.00684) | 69.33th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.71% (0.01710) | 70.96th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.17% (0.00170) | 54.45th | v3 (v2023.03.01) |
| Mar 5, 2024 | 0.17% (0.00170) | 53.17th | v3 (v2023.03.01) |
| May 8, 2023 | 0.16% (0.00158) | 50.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.16% (0.00164) | 51.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.42% (0.00416) | 10.04th | v1 |
| Jan 6, 2022 | 0.42% (0.00416) | 9.79th | v1 |
| Sep 1, 2021 | 0.42% (0.00416) | 25.53th | v1 |
| Apr 14, 2021 | 0.42% (0.00416) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2018-3737 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1567228 Issue Tracking
- https://github.com/advisories/GHSA-2m39-62fm-q8r3 Advisory
- https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17
- https://github.com/joyent/node-sshpk/commit/46065d38a5e6d1bccf86d3efb2fb83c14e3f9957
- https://hackerone.com/reports/319593 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-3737
- https://www.cve.org/CVERecord?id=CVE-2018-3737
- https://www.npmjs.com/advisories/606
Change history (0)
No recorded changes yet.