Bug 1509206 (CVE-2017-15928)

Summary: CVE-2017-15928 rubygem-ox: Segmentation fault in the parse_obj
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: valtri
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-ox 2.8.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:30:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1509283, 1509284    
Bug Blocks:    

Description Andrej Nemec 2017-11-03 10:51:00 UTC
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.

Upstream issue:

https://github.com/ohler55/ox/issues/194

Upstream patch:

https://github.com/ohler55/ox/commit/e4565dbc167f0d38c3f93243d7a4fcfc391cbfc8

Comment 1 Andrej Nemec 2017-11-03 13:27:12 UTC
Created rubygem-ox tracking bugs for this issue:

Affects: epel-7 [bug 1509283]
Affects: fedora-all [bug 1509284]

Comment 2 František Dvořák 2018-02-22 10:16:47 UTC
This could be probably closed? Fedora has the new version with the fix, EPEL 7 has the patch backported.

Quit check for this issue:

ruby -rox -e 'Ox.parse_obj("<k><s></s></k>")'

Comment 3 Product Security DevOps Team 2019-06-08 03:30:22 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.