Bug 2035358 (CVE-2021-43518)

Summary: CVE-2021-43518 teeworlds: code execution via malicious map file
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync, igor.raits, lkundrak, oliver
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-12-23 18:41:15 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: 2035359, 2035360    
Bug Blocks:    

Description Marian Rehak 2021-12-23 18:10:07 UTC
Teeworlds up to and including 0.7.5 is vulnerable to Buffer Overflow. A map parser does not validate m_Channels value coming from a map file, leading to a buffer overflow. A malicious server may offer a specially crafted map that will overwrite client's stack causing denial of service or code execution.

Reference:

https://mmmds.pl/fuzzing-map-parser-part-1-teeworlds/
https://github.com/teeworlds/teeworlds/issues/2981

Comment 1 Marian Rehak 2021-12-23 18:10:24 UTC
Created teeworlds tracking bugs for this issue:

Affects: epel-7 [bug 2035360]
Affects: fedora-all [bug 2035359]

Comment 2 Product Security DevOps Team 2021-12-23 18:41: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.