GitHub Advisoryadvisory · npm

GHSA-2m39-62fm-q8r3 Regular Expression Denial of Service in sshpk

HIGH Published 2018-08-15 Modified 2023-01-31 Official page ↗
Aliases
CVE-2018-3737
Ecosystem
npm
Packages
sshpk
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-185, CWE-770
Reviewed
2020-06-16

Affected packages

• npm sshpk: < 1.13.2 → fixed in 1.13.2

Description

Versions of `sshpk` before 1.13.2 or 1.14.1 are vulnerable to regular expression denial of service when parsing crafted invalid public keys. Recommendation Update to version 1.13.2, 1.14.1 or later.

Related

Alias · CVE (1)

  • CVE-2018-3737 sshpk is vulnerable to ReDoS when parsing crafted invalid public keys. vulnerability

Weakness · CWE (2)

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

References