Bug 2157054 (CVE-2022-3341)

Summary: CVE-2022-3341 ffmpeg: null pointer dereference in decode_main_header() in libavformat/nutdec.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ffmpeg 5.1 Doc Type: If docs needed, set a value
Doc Text:
A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because the function lacks check of the return value of avformat_new_stream() and triggers the null pointer dereference error, causing an application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-31 09:31:14 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: 2157057, 2157055, 2157056    
Bug Blocks: 2143769    

Description TEJ RATHI 2022-12-30 10:13:36 UTC
An issue was discovered in the FFmpeg in decode_main_header in libavformat/nutdec.c lacks check of the return value of avformat_new_stream() and will cause the null pointer dereference.

https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e

Comment 1 TEJ RATHI 2022-12-30 10:14:04 UTC
Created ffmpeg tracking bugs for this issue:

Affects: fedora-all [bug 2157055]


Created qt5-qtwebengine tracking bugs for this issue:

Affects: epel-all [bug 2157057]
Affects: fedora-all [bug 2157056]

Comment 2 Product Security DevOps Team 2022-12-31 09:31:13 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.