{"id":"CVE-2018-3737","aliases":["DEBIAN-CVE-2018-3737","EUVD-2018-0353","GHSA-2m39-62fm-q8r3","RHSA-2020:2625","UBUNTU-CVE-2018-3737"],"status":"published","title":"Regular Expression Denial of Service in sshpk","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01711,"percentile":0.77502,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-185","CWE-770"],"published":"2018-06-07T02:00:00Z","modified":"2026-10-24T10:30:46Z","fixes":[{"ecosystem":"npm","package":"sshpk","fixed_in":["1.13.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-sshpk","fixed_in":["1.13.1+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-sshpk","fixed_in":["1.13.1+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-sshpk","fixed_in":["1.13.1+dfsg-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sshpk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"node-sshpk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-sshpk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-sshpk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1+dfsg-2"}]}]},{"source":"osv","ecosystem":"npm","package":"sshpk","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.2"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-nodejs-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.17.0-2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:3::el7","package":"rh-nodejs8-npm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.13.4-8.17.0.2.el7"}]}],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-sshpk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.0+dfsg-1","1.13.1+dfsg-1"]}],"products":[{"vendor":"hackerone","product":"sshpk node module"},{"vendor":"joyent","product":"sshpk"}],"references":[{"url":"https://hackerone.com/reports/319593","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3737","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2m39-62fm-q8r3","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/606","tags":["web"]},{"url":"https://github.com/joyent/node-sshpk/commit/46065d38a5e6d1bccf86d3efb2fb83c14e3f9957","tags":["web","report"]},{"url":"https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-3737","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:2625","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1448380","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1567228","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1578246","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1611613","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788301","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788305","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788310","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1829414","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2625.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-18077","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18077","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18077","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-18869","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18869","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18869","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-3737","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3737","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-3750","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3750","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3750","tags":["advisory"]},{"url":"https://hackerone.com/reports/311333","tags":["article"]},{"url":"https://nodesecurity.io/advisories/612","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16775","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16775","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16775","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16776","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16776","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16776","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-16777","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-16777","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16777","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-3737","tags":["report"]},{"url":"https://github.com/joyent/node-sshpk/issues/44","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-3737","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T03:42:53.453Z","cwes":["CWE-770"],"updated_at":"2026-11-02T14:35:05.619113Z"}],"euvd":[{"id":"EUVD-2018-0353","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T03:42:53Z","updated_at":"2026-11-03T00:28:29.460274Z"}],"ghsa":[{"id":"GHSA-2m39-62fm-q8r3","title":"Regular Expression Denial of Service in sshpk","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.\n\n\n## Recommendation\n\nUpdate to version 1.13.2, 1.14.1 or later.","status":"published","published":"2018-08-15T13:22:23Z","modified":"2023-01-31T01:55:04Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-185","CWE-770"],"updated_at":"2026-11-02T14:36:29.100018Z"}],"nvd":[{"id":"CVE-2018-3737","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","status":"published","published":"2018-06-07T02:29:08.897Z","modified":"2026-06-17T01:57:44.88Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-770","CWE-185"],"updated_at":"2026-11-02T14:04:28.483469Z"}],"osv":[{"id":"CVE-2018-3737","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","status":"published","published":"2018-06-07T02:29:08.897Z","modified":"2026-10-24T10:30:46.435702586Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-3737","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","status":"published","published":"2018-06-07T02:29:08.897Z","modified":"2026-10-23T18:03:06.654784458Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"GHSA-2m39-62fm-q8r3","title":"Regular Expression Denial of Service in sshpk","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.\n\n\n## Recommendation\n\nUpdate to version 1.13.2, 1.14.1 or later.","status":"published","published":"2018-08-15T13:22:23Z","modified":"2023-11-08T04:00:18.101194Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-185","CWE-770"],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"RHSA-2020:2625","title":"Red Hat Security Advisory: rh-nodejs8-nodejs security update","status":"published","published":"2024-09-13T16:20:13Z","modified":"2026-06-28T10:37:33Z","cvss":[{"version":"3.0","score":7.7,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:07.072948Z"},{"id":"UBUNTU-CVE-2018-3737","description":"sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.","status":"published","published":"2018-06-07T02:29:00Z","modified":"2025-10-24T04:46:47Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.33562Z"}]}}
