{"schemaVersion":3,"id":"CVE-2017-3737","aliases":["ALPINE-CVE-2017-3737","UBUNTU-CVE-2017-3737","DEBIAN-CVE-2017-3737"],"status":"published","duplicateOf":null,"title":null,"description":"OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an \"error state\" mechanism. The intent was that if a fatal error occurred during a handshake then OpenSSL would move into the error state and would immediately fail if you attempted to continue the handshake. This works as designed for the explicit handshake functions (SSL_do_handshake(), SSL_accept() and SSL_connect()), however due to a bug it does not work correctly if SSL_read() or SSL_write() is called directly. In that scenario, if the handshake fails then a fatal error will be returned in the initial function call. If SSL_read()/SSL_write() is subsequently called by the application for the same SSL object then it will succeed and the data is passed without being decrypted/encrypted directly from the SSL/TLS record layer. In order to exploit this issue an application bug would have to be present that resulted in a call to SSL_read()/SSL_write() being issued after having already received a fatal error. OpenSSL version 1.0.2b-1.0.2m are affected. Fixed in OpenSSL 1.0.2n. OpenSSL 1.1.0 is not affected.","dates":{"published":"2017-12-07T16:00:00.000Z","modified":"2024-09-17T03:53:31.262Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":5.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true}]},"epss":{"probability":0.78675,"percentile":0.99586,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.78675},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.78273,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.78675,"percentile":0.99586}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.78273,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.78675,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.78675,"percentile":0.99586}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"openssl","name":"openssl","label":"openssl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/openssl","purlType":"apk","versions":[{"text":"< 1.0.2n-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.2n-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"openssl","name":"openssl","label":"openssl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openssl","purlType":"deb","versions":[{"text":"< 1.1.0b-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.0b-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"openssl","name":"openssl","label":"openssl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openssl","purlType":"deb","versions":[{"text":"< 1.0.2g-1ubuntu4.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.2g-1ubuntu4.10","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"openssl software foundation","product":"openssl","name":"OpenSSL","label":"openssl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0.2b-1.0.2m","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.2b-1.0.2m","eol":null,"hubHref":"/vendor/openssl_software_foundation/openssl"},{"vendor":"openssl","product":"openssl","name":"OpenSSL","label":"openssl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0.2b","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2c","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2d","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2e","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2f","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2g","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2h","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2i","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2j","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2k","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2l","noFixRecorded":false,"fixedIn":null},{"text":"1.0.2m","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.2b | 1.0.2c | 1.0.2d | 1.0.2e | 1.0.2f | 1.0.2g | 1.0.2h | 1.0.2i | 1.0.2j | 1.0.2k | 1.0.2l | 1.0.2m","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"openssl","label":"OpenSSL","category":"framework"}},"hubHref":"/vendor/openssl/openssl"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:2185","label":"access.redhat.com/errata/RHSA-2018:2185","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2186","label":"access.redhat.com/errata/RHSA-2018:2186","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://github.com/openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc","label":"github.com/openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","label":"www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","label":"www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180419-0002/","label":"security.netapp.com/advisory/ntap-20180419-0002/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM"]},{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-17:12.openssl.asc","label":"security.freebsd.org/advisories/FreeBSD-SA-17:12.openssl.asc","hostname":"security.freebsd.org","tags":["Vendor Advisory","X Refsource FREEBSD","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201712-03","label":"security.gentoo.org/glsa/201712-03","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"http://www.securitytracker.com/id/1039978","label":"www.securitytracker.com/id/1039978","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://www.openssl.org/news/secadv/20171207.txt","label":"www.openssl.org/news/secadv/20171207.txt","hostname":"www.openssl.org","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"https://www.digitalmunition.me/2017/12/cve-2017-3737-openssl-security-bypass-vulnerability/","label":"www.digitalmunition.me/2017/12/cve-2017-3737-openssl-security-bypass-vulnerability/","hostname":"www.digitalmunition.me","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0998","label":"access.redhat.com/errata/RHSA-2018:0998","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","label":"www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM"]},{"url":"https://www.debian.org/security/2017/dsa-4065","label":"www.debian.org/security/2017/dsa-4065","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-179516.pdf","label":"cert-portal.siemens.com/productcert/pdf/ssa-179516.pdf","hostname":"cert-portal.siemens.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.securityfocus.com/bid/102103","label":"www.securityfocus.com/bid/102103","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.tenable.com/security/tns-2017-16","label":"www.tenable.com/security/tns-2017-16","hostname":"www.tenable.com","tags":["X Refsource CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2187","label":"access.redhat.com/errata/RHSA-2018:2187","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://security.netapp.com/advisory/ntap-20180117-0002/","label":"security.netapp.com/advisory/ntap-20180117-0002/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20171208-0001/","label":"security.netapp.com/advisory/ntap-20171208-0001/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","label":"www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","hostname":"www.oracle.com","tags":["X Refsource MISC"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-3737","label":"security.alpinelinux.org/vuln/CVE-2017-3737","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-3737","label":"ubuntu.com/security/CVE-2017-3737","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3512-1","label":"ubuntu.com/security/notices/USN-3512-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-3737","label":"www.cve.org/CVERecord?id=CVE-2017-3737","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-3737","label":"security-tracker.debian.org/tracker/CVE-2017-3737","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4065-1","MGASA-2017-0453","OPENSUSE-SU-2024:11126-1","RHSA-2018:0998","RHSA-2018:2185","RHSA-2018:2186","SUSE-SU-2017:3343-1","USN-3512-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11126-1","SUSE-SU-2017:3343-1","USN-3512-1"]},"timeline":[{"kind":"published","date":"2017-12-07T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T03:53:31.262Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":39,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:20:30.101Z","stale":false,"partial":false}}