Bug 1732254 (CVE-2019-12217)

Summary: CVE-2019-12217 SDL: null-pointer dereference in function stdio_read in file/SDL_rwops.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dingyichen, erik-fedora, igor.raits, klember, maci, ppisar, tcallawa, wtaymans
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: 2019-09-20 18:45:37 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: 1732255, 1752611, 1752612, 1752613, 1752614    
Bug Blocks: 1732266    

Description Dhananjay Arunesh 2019-07-23 05:30:12 UTC
An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is a NULL pointer dereference in the SDL stdio_read function in file/SDL_rwops.c.

Reference:
https://bugzilla.libsdl.org/show_bug.cgi?id=4626

Comment 1 Dhananjay Arunesh 2019-07-23 05:30:29 UTC
Created SDL tracking bugs for this issue:

Affects: fedora-all [bug 1732255]

Comment 2 Dhananjay Arunesh 2019-09-16 18:19:15 UTC
Created SDL2 tracking bugs for this issue:

Affects: epel-7 [bug 1752613]
Affects: fedora-all [bug 1752611]


Created mingw-SDL2 tracking bugs for this issue:

Affects: epel-7 [bug 1752614]
Affects: fedora-all [bug 1752612]

Comment 3 Riccardo Schirone 2019-09-20 14:03:27 UTC
Upstream patch:
https://hg.libsdl.org/SDL_image/rev/e7e9786a1a34

this is the same patch as CVE-2019-12221.

Comment 4 Riccardo Schirone 2019-09-20 14:03:29 UTC
Statement:

This issue did not affect the versions of SDL as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8 as they did not include SDL2_Image add-on.

Comment 5 Product Security DevOps Team 2019-09-20 18:45:37 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-12217