Bug 2246320 (CVE-2023-43281)

Summary: CVE-2023-43281 stb: remote denial of service
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: code
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: 2246321, 2246322    
Bug Blocks:    

Description ybuenos 2023-10-26 09:53:54 UTC
Double Free vulnerability in Nothings Stb Image.h v.2.28 allows a remote attacker to cause a denial of service via a crafted file to the stbi_load_gif_main function.

https://gist.github.com/peccc/d8761f6ac45ad55cbd194dd7e6fdfdac
https://github.com/peccc/double-stb

Comment 1 ybuenos 2023-10-26 09:54:15 UTC
Created stb tracking bugs for this issue:

Affects: epel-all [bug 2246322]
Affects: fedora-all [bug 2246321]

Comment 2 Ben Beasley 2023-10-26 10:48:04 UTC
This CVE appears to duplicate GHSL-2023-150/CVE-2023-45666 (bug 2246112) and GHSL-2023-148/CVE-2023-45664 (bug 2246106).

Comment 3 Ben Beasley 2023-10-26 10:53:25 UTC
Additionally, the description as a remote denial of service is misleading: stb_image is a library that contains no network code of its own; a remote denial of service is possible when a specific application uses it to read untrusted images obtained via a network, but not, for example, if a game uses it to load its own “trusted” assets.