CVE-2017-14033 Ruby OpenSSL DoS Vulnerability

High 7.5 Published Updated

Attackers can cause a denial of service via interpreter crash by sending crafted strings to the Ruby OpenSSL ASN1 decode method.

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-14033?

CVE-2017-14033 is a high-severity denial of service vulnerability in Ruby-Lang Ruby, published on 19 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The decode method in the OpenSSL::ASN1 module in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows attackers to cause a denial of service (interpreter crash) via a crafted string.

Weakness: CWE-119

Which versions are affected by CVE-2017-14033?

2 open source packages ship an affected version, including openssl. It affects 1 product.

PackageAffectedFixed in
openssl RubyGemsAll versions2.0.0
openssl RubyGemsAll versions2.0.0

Products include Ruby-Lang Ruby.

How do I fix CVE-2017-14033?

Upgrade openssl to 2.0.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-14033 being exploited?

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

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as ALPINE-CVE-2017-14033, CLEANSTART-2026-PG57442, GHSA-v6rp-3r3v-hf4p, UBUNTU-CVE-2017-14033.

Is CVE-2017-14033 in your software?

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

Check your SBOMs for free