Integer overflow in Simple DirectMedia Layer - CVE-2017-2888

 

Integer overflow in Simple DirectMedia Layer - CVE-2017-2888

Published: October 11, 2017


Vulnerability identifier: #VU8790
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-2888
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow vulnerability exists when creating a new RGB Surface via a call to the CreateRBGSurface function. A remote attacker can send a specially crafted image file, trick the victim into opening it, trigger memory corruption and execute arbitrary code with privileges of the current user.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Simple DirectMedia Layer
libsdl2 (Ubuntu package)
SDL2_gfx
SDL2_mixer
SDL2_image
SDL2
Fedora

How to mitigate CVE-2017-2888

Update to version 2.0.6.

libsdl2 (Ubuntu package) - addressed in versions 2.0.4+dfsg1-2ubuntu2.16.04.2, 2.0.8+dfsg1-1ubuntu1.18.04.4, 2.0.9+dfsg1-1ubuntu1.19.04.1
SDL2_gfx - update to 1.0.3-1.el7
SDL2_mixer - update to 2.0.2-2.el7
SDL2_image - update to 2.0.3-1.el7
SDL2 - addressed in versions 2.0.5-8.fc25, 2.0.5-8.fc26, 2.0.6-4.fc27, 2.0.7-1.fc26, 2.0.8-5.el7

External References

Related Security Bulletins