Bug 1990079 (CVE-2021-37231)

Summary: CVE-2021-37231 AtomicParsley: stack-based buffer overflow because of the missing boundary check while parsing a crafted mp4 file
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: avibrazil
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: 2021-08-04 19:06:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1990082    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-08-04 17:19:23 UTC
A stack-buffer-overflow occurs in Atomicparsley 20210124.204813.840499f through APar_readX() in src/util.cpp while parsing a crafted mp4 file because of the missing boundary check.

Reference:
https://github.com/wez/atomicparsley/issues/30

Upstream patch:
https://github.com/wez/atomicparsley/pull/31

Comment 1 Guilherme de Almeida Suckevicz 2021-08-04 17:27:01 UTC
Created AtomicParsley tracking bugs for this issue:

Affects: fedora-all [bug 1990082]

Comment 2 Product Security DevOps Team 2021-08-04 19:06:56 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.