Bug 1769545 (CVE-2019-17533)

Summary: CVE-2019-17533 matio: improper null termination in Mat_VarReadNextInfo4 in mat4.c leads to heap-based overflow
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: c.david86, lupinix.fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-07 00:51:10 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: 1769547, 1769548, 1769550    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-11-06 20:25:11 UTC
Mat_VarReadNextInfo4 in mat4.c in MATIO 1.5.17 omits a certain '\0' character, leading to a heap-based buffer over-read in strdup_vprintf when uninitialized memory is accessed.

References:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16856
https://github.com/tbeu/matio/commit/651a8e28099edb5fbb9e4e1d4d3238848f446c9a

Comment 1 Guilherme de Almeida Suckevicz 2019-11-06 20:25:28 UTC
Created matio tracking bugs for this issue:

Affects: epel-6 [bug 1769547]
Affects: epel-7 [bug 1769548]

Comment 2 Guilherme de Almeida Suckevicz 2019-11-06 20:26:52 UTC
Created matio tracking bugs for this issue:

Affects: fedora-all [bug 1769550]

Comment 3 Product Security DevOps Team 2019-11-07 00:51:10 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.