Skip to content
OpenAdvisories
Medium · 5.5 CVE-2017-16229 EUVD-2018-0186GHSA-wfwm-chj7-w59r

Ox gem stack overflow in sax_parse

Published Feb 26, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

In the Ox gem 2.8.1 for Ruby, the process crashes with a stack-based buffer over-read in the read_from_str function in sax_buf.c when a crafted input is supplied to sax_parse.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-ox 2.8.2-1 —
Debian 13 ruby-ox 2.8.2-1 —
Debian 12 ruby-ox 2.8.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ruby-ox No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems ox < 2.8.2 2.8.2 GHSA-wfwm-chj7-w59r

References