Skip to content
Fencer Intel
high 7.5

CVE-2018-3737 json

Regular Expression Denial of Service in sshpk

published 2018-06-07 8 y ago modified 2026-06-17 4 mo ago also GHSA-2m39-62fm-q8r3 , EUVD-2018-0353

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.

Patch / fix

  • npm sshpk 1.13.2
  • node-sshpk Debian 14, Debian 13, Debian 12 1.13.1+dfsg-2

debian advisories DEBIAN-CVE-2018-3737

  • rh-nodejs8-nodejs RHEL 3 SOFTWARE_COLLECTIONS 8.17.0-2.el7
  • rh-nodejs8-npm RHEL 3 SOFTWARE_COLLECTIONS 6.13.4-8.17.0.2.el7

red hat advisories RHSA-2020:2625

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-3737 updated cvss 5.3

nodejs-sshpk: ReDoS when parsing crafted invalid public keys in lib/formats/ssh.js

  • Red Hat Quay 3 quay/quay-rhel8
    affected: no fix available “Fix deferred”
  • Red Hat Software Collections rh-nodejs6-nodejs-sshpk
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7
    fixed: vendor fix RHSA-2020:2625
  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Mobile Application Platform 4 nodejs-sshpk Red Hat Software Collections rh-nodejs10-npm, rh-nodejs10-nodejs Red Hat Virtualization 4 ovirt-engine-dashboard, ovirt-engine-api-explorer, ovirt-engine-ui-extensions
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.71% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/319593 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm sshpk
<1.13.2
1.13.2

Affected products

  • HackerOne sshpk node module

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling
  • CWE-185 Incorrect Regular Expression

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.