Bug 1549441 (CVE-2017-16229)

Summary: CVE-2017-16229 rubygem-ox: Stack-based buffer over-read in sax_buf.c:read_from_str() causes crash
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: valtri
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-ox 2.8.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:41:28 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: 1549442, 1549443    
Bug Blocks:    

Description Sam Fowler 2018-02-27 06:03:22 UTC
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.


Upstream Issue:

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


Upstream Fix:

https://github.com/ohler55/ox/pull/196/files

Comment 1 Sam Fowler 2018-02-27 06:03:42 UTC
Created rubygem-ox tracking bugs for this issue:

Affects: epel-7 [bug 1549442]
Affects: fedora-26 [bug 1549443]

Comment 2 Product Security DevOps Team 2019-06-08 03:41:28 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.