CVE-2017-3737

Vulnerability in OpenSSL

No CVSS score yet EPSS 78.6%

Published 7 Dec 2017 Updated 17 Sep 2024 CNA: openssl

Check your servers for CVE-2017-3737

The PatchBrief agent sends the package list of each Linux server and of its container images once a day. PatchBrief shows every server where CVE-2017-3737 affects openssl, with the command that installs the fix. The free plan covers one server and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 78.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.7% of all scored CVEs. Scores of 26 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
OpenSSL
affected 1.0.2b-1.0.2m

Is my server affected?

Find the installed version of openssl and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i openssl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-3737 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-3737

RHEL, Rocky, Alma, Fedora

rpm -q openssl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-3737

Alpine

apk list --installed | grep -i openssl

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2017-3737
trivy image --scanners vuln IMAGE | grep CVE-2017-3737

PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.

References

Advisories

5 more

Other references

Source: the record CVE-2017-3737 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.