Bug 2079986 (CVE-2022-1515)

Summary: CVE-2022-1515 matio: memory leak in Mat_VarReadNextInfo5() in mat5.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync, lupinix.fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: matio 1.5.22, matio 1.5.23 Doc Type: If docs needed, set a value
Doc Text:
A memory leak was discovered in matio 1.5.21 and earlier in Mat_VarReadNextInfo5() in mat5.c via a crafted file. This issue can potentially result in DoS.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2079987    
Bug Blocks: 2076325, 2079991    

Description Guilherme de Almeida Suckevicz 2022-04-28 16:58:54 UTC
A memory leak was discovered in matio 1.5.21 and earlier in Mat_VarReadNextInfo5() in mat5.c via a crafted file. This issue can potentially result in DoS.

Reference:
https://github.com/tbeu/matio/issues/186

Upstream patch:
https://github.com/tbeu/matio/commit/b53b62b756920f4c1509f4ee06427f66c3b5c9c4

Comment 1 Guilherme de Almeida Suckevicz 2022-04-28 16:59:08 UTC
Created matio tracking bugs for this issue:

Affects: epel-all [bug 2079987]