cve.bz

CVE-2018-3737 joyent sshpk: Incorrect Regular Expression

7.5 highExploit referenceEPSS 1.7%Fix available

High (7.5) in joyent sshpk. EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in sshpk 1.13.2.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-185 Incorrect Regular Expression
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-3737 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-3737?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-3737?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-3737 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
joyent:sshpkthrough 1.13.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2m39-62fm-q8r3npmsshpk<1.13.21.13.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-sshpk1.13.1+dfsg-2DEBIAN-CVE-2018-3737
Ubuntu18.04:LTSnode-sshpkno fix listedUBUNTU-CVE-2018-3737
Red Hatrhel_software_collections:3::el7rh-nodejs8-nodejs, rh-nodejs8-nodejs-docs, rh-nodejs8-nodejs-devel and 1 more0:8.17.0-2.el7RHSA-2020:2625
Red Hatrhel_software_collections:3::el7rh-nodejs8-npm0:6.13.4-8.17.0.2.el7RHSA-2020:2625

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs8-nodejs-0:8.17.0-2.el7Fixed 2020-06-19RHSA-2020:2625
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs8-nodejs-0:8.17.0-2.el7Fixed 2020-06-19RHSA-2020:2625
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs8-nodejs-0:8.17.0-2.el7Fixed 2020-06-19RHSA-2020:2625
Red Hat Enterprise Linux 8nodejs:10/nodejsNot affected
Red Hat Mobile Application Platform 4nodejs-sshpkNot affected
Red Hat Quay 3quay/quay-rhel8Fix deferred
Red Hat Software Collectionsrh-nodejs10-nodejsNot affected
Red Hat Software Collectionsrh-nodejs6-nodejs-sshpkWill not fix
Red Hat Virtualization 4ovirt-engine-api-explorerNot affected
Red Hat Virtualization 4ovirt-engine-dashboardNot affected
Red Hat Virtualization 4ovirt-engine-ui-extensionsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-3737.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON