Bug 1926933 (CVE-2021-26826)

Summary: CVE-2021-26826 godot: stack overflow caused by improper boundary checks when loading .TGA image files
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: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: jefferson.dev.insights, rluders, rverschelde
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-02-09 22:09:48 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: 1926934, 1926935    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-02-09 17:27:34 UTC
A stack overflow issue exists in Godot Engine up to v3.2 and is caused by improper boundary checks when loading .TGA image files. Depending on the context of the application, attack vector can be local or remote, and can lead to code execution and/or system crash.

Reference:
https://github.com/godotengine/godot/pull/45701

Upstream patch:
https://github.com/godotengine/godot/pull/45701/commits/403e4fd08b0b212e96f53d926e6273e0745eaa5a

Comment 1 Guilherme de Almeida Suckevicz 2021-02-09 17:27:58 UTC
Created godot tracking bugs for this issue:

Affects: epel-7 [bug 1926935]
Affects: fedora-all [bug 1926934]

Comment 2 Product Security DevOps Team 2021-02-09 22:09:48 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.