CVE-2017-3731 Truncated packet could crash via OOB read

High 7.5 Published Updated

A truncated packet can cause an out-of-bounds read and crash in OpenSSL on 32-bit hosts using specific ciphers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-3731?

CVE-2017-3731 is a high-severity memory corruption vulnerability in Nodejs Node.js, published on 4 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

If an SSL/TLS server or client is running on a 32-bit host, and a specific cipher is being used, then a truncated packet can cause that server or client to perform an out-of-bounds read, usually resulting in a crash. For OpenSSL 1.1.0, the crash can be triggered when using CHACHA20/POLY1305; users should upgrade to 1.1.0d. For Openssl 1.0.2, the crash can be triggered when using RC4-MD5; users who have not disabled that algorithm should update to 1.0.2k.

Weakness: CWE-125

Which versions are affected by CVE-2017-3731?

It affects 2 products.

Products include Nodejs Node.js, Openssl Openssl.

How do I fix CVE-2017-3731?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-3731 being exploited?

There is no known exploitation of CVE-2017-3731 in the wild and no public exploit code.

All Nodejs Node.js vulnerabilities

Sources

Also known as ALPINE-CVE-2017-3731, DEBIAN-CVE-2017-3731, GHSA-3cp9-4w64-73cg, UBUNTU-CVE-2017-3731.

Is CVE-2017-3731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free