Bug 2234722 (CVE-2020-21722)

Summary: CVE-2020-21722 oggvideotools: heap-use-after-free in streamExtractor.cpp
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: zbyszek
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: 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: 2234723, 2234724    
Bug Blocks:    

Description Mauro Matteo Cascella 2023-08-25 09:32:27 UTC
Buffer Overflow vulnerability in oggvideotools 0.9.1 allows remote attackers to run arbitrary code via opening of crafted ogg file.

https://github.com/xiaoxiongwang/security/tree/master/oggvideotools#segv-and-heap-use-after-free-detected-in-line-17-of-streamextractorcpp
https://sourceforge.net/p/oggvideotools/bugs/11/

Comment 1 Mauro Matteo Cascella 2023-08-25 09:32:44 UTC
Created oggvideotools tracking bugs for this issue:

Affects: fedora-37 [bug 2234723]
Affects: fedora-38 [bug 2234724]

Comment 2 Zbigniew Jędrzejewski-Szmek 2023-08-27 12:51:25 UTC
I suspect that fixing #2234728 will fix this one too.
Unfortunately the original bug reporter forgot to attach the sample.
But the same codepath seems to be triggerred.