CVE-2017-15928 Ox gem crashes due to a crafted input

High 7.5 Published Updated

A crafted input causes a segmentation fault in the Ox gem, leading to a denial of service for applications using the library.

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

CVE-2017-15928 is a high-severity denial of service vulnerability in n/a, published on 27 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Ox gem 2.8.0 for Ruby, the process crashes with a segmentation fault when a crafted input is supplied to parse_obj. NOTE: the vendor has stated "Ox should handle the error more gracefully" but has not confirmed a security implication.

Weakness: CWE-20

Which versions are affected by CVE-2017-15928?

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

PackageAffectedFixed in
ox RubyGemsAll versions2.8.1
ox RubyGemsAll versions2.8.1

Products include Ox Project Ox.

How do I fix CVE-2017-15928?

Upgrade ox to 2.8.1 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-15928 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-15928, GHSA-pjj4-w39g-pw54, MGASA-2019-0123, UBUNTU-CVE-2017-15928.

Is CVE-2017-15928 in your software?

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

Check your SBOMs for free