CVE-2017-2888
published 2017-10-11CVE-2017-2888: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow…
PriorityP345high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
3.07%
86.3th percentile
An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | libsdl1.2 | < libsdl2 2.0.6+dfsg1-4 (bookworm) | libsdl2 2.0.6+dfsg1-4 (bookworm) |
| debian | libsdl2 | < libsdl2 2.0.6+dfsg1-4 (bookworm) | libsdl2 2.0.6+dfsg1-4 (bookworm) |
| libsdl | simple_directmedia_layer | — | — |
| talos | simple_direct_media | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
vendor_redhat8.8HIGH
vendor_ubuntu8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
SDL 2.0 vulnerabilities
vendor_ubuntu·2019-09-30·CVSS 8.8
CVE-2017-2888 [HIGH] SDL 2.0 vulnerabilities
Title: SDL 2.0 vulnerabilities
Summary: SDL 2.0 could be made to crash or run programs as your login if it
opened a specially crafted file.
It was discovered that SDL 2.0 mishandled crafted image files resulting in an
integer overflow. If a user were tricked into opening a malicious file, SDL
2.0 could be caused to crash or potentially run arbitrary code.
(CVE-2017-2888)
It was discovered that SDL 2.0 mishandled crafted image files. If a user were
tricked into opening a malicious file, SDL 2.0 could be caused to crash or
potentially run arbitrary code.
(CVE-2019-7635, CVE-2019-7636, CVE-2019-7637, CVE-2019-7638)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
SDL: Integer overflow while creating a new RGB surface
vendor_redhat·2017-10-10·CVSS 8.8
CVE-2017-2888 [HIGH] CWE-190 SDL: Integer overflow while creating a new RGB surface
SDL: Integer overflow while creating a new RGB surface
An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
Statement: This issue did not affect the versions of SDL as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Package: SDL (Red Hat Enterprise Linux 5) - Not affected
Package: SDL (Red Hat Enterprise Linux 6) - Not affected
Package: SDL (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2017-2888: libsdl1.2 - An exploitable integer overflow vulnerability exists when creating a new RGB Sur...
vendor_debian·2017·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888: libsdl1.2 - An exploitable integer overflow vulnerability exists when creating a new RGB Sur...
An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
Scope: local
bookworm: resolved
bullseye: resolved
GHSA
GHSA-3x42-vgc3-7f6c: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2
ghsa_unreviewed·2022-05-13
CVE-2017-2888 [HIGH] CWE-190 GHSA-3x42-vgc3-7f6c: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2
An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
OSV
SDL 2.0 vulnerabilities
osv·2019-09-30·CVSS 8.8
CVE-2017-2888 [HIGH] SDL 2.0 vulnerabilities
SDL 2.0 vulnerabilities
It was discovered that SDL 2.0 mishandled crafted image files resulting in an
integer overflow. If a user were tricked into opening a malicious file, SDL
2.0 could be caused to crash or potentially run arbitrary code.
(CVE-2017-2888)
It was discovered that SDL 2.0 mishandled crafted image files. If a user were
tricked into opening a malicious file, SDL 2.0 could be caused to crash or
potentially run arbitrary code.
(CVE-2019-7635, CVE-2019-7636, CVE-2019-7637, CVE-2019-7638)
OSV
CVE-2017-2888: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2
osv·2017-10-11·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888: An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2
An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-2888 SDL2: SDL: Integer overflow while creating a new RGB surface [epel-7]
bugzilla·2017-10-11·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888 SDL2: SDL: Integer overflow while creating a new RGB surface [epel-7]
CVE-2017-2888 SDL2: SDL: Integer overflow while creating a new RGB surface [epel-7]
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug. This will ensure that all associated bugs get updated
when new packages are pushed to stable.
# bugfix, security, enhancement, newpackage (required)
type=security
# testing, stable
request=testing
# Bug numbers: 1234,9876
bugs=1500623,1500735
# Description of your update
notes=Security fix for [PUT CVEs HERE]
# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3
# Automatically close bugs when this marked as stable
close_bugs=True
# Suggest that users restart after
Bugzilla
CVE-2017-2888 SDL2: SDL: Integer overflow while creating a new RGB surface [fedora-all]
bugzilla·2017-10-11·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888 SDL2: SDL: Integer overflow while creating a new RGB surface [fedora-all]
CVE-2017-2888 SDL2: SDL: Integer overflow while creating a new RGB surface [fedora-all]
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug. This will ensure that all associated bugs get updated
when new packages are pushed to stable.
# bugfix, security, enhancement, newpackage (required)
type=security
# testing, stable
request=testing
# Bug numbers: 1234,9876
bugs=1500623,1500734
# Description of your update
notes=Security fix for [PUT CVEs HERE]
# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3
# Automatically close bugs when this marked as stable
close_bugs=True
# Suggest that users restart a
Bugzilla
CVE-2017-2888 mingw-SDL: SDL: Integer overflow while creating a new RGB surface [fedora-all]
bugzilla·2017-10-11·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888 mingw-SDL: SDL: Integer overflow while creating a new RGB surface [fedora-all]
CVE-2017-2888 mingw-SDL: SDL: Integer overflow while creating a new RGB surface [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple sup
Bugzilla
CVE-2017-2888 SDL: Integer overflow while creating a new RGB surface [fedora-all]
bugzilla·2017-10-11·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888 SDL: Integer overflow while creating a new RGB surface [fedora-all]
CVE-2017-2888 SDL: Integer overflow while creating a new RGB surface [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported vers
Bugzilla
CVE-2017-2888 SDL: Integer overflow while creating a new RGB surface
bugzilla·2017-10-11·CVSS 8.8
CVE-2017-2888 [HIGH] CVE-2017-2888 SDL: Integer overflow while creating a new RGB surface
CVE-2017-2888 SDL: Integer overflow while creating a new RGB surface
An exploitable integer overflow vulnerability exists when creating a new RGB Surface in SDL 2.0.5. A specially crafted file can cause an integer overflow resulting in too little memory being allocated which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
External References:
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395
Discussion:
Created SDL tracking bugs for this issue:
Affects: fedora-all [bug 1500624]
Created mingw-SDL tracking bugs for this issue:
Affects: fedora-all [bug 1500625]
---
This appears to be the patch:
http://hg.libsdl.org/SDL/rev/7e0f1498ddb5
PLEASE NOTE: Simply applyin
Talos
Vulnerability Spotlight: Arbitrary Code Execution Bugs in Simple DirectMedia Layer Fixed
blogs_talos·2017-10-10·CVSS 8.8
[HIGH] Vulnerability Spotlight: Arbitrary Code Execution Bugs in Simple DirectMedia Layer Fixed
Today, Talos is disclosing two vulnerabilities that have been identified in the Simple DirectMedia Layer library. Simple DirectMedia Layer (SDL) is a cross-platform development library designed for use in video playback software, emulators, and games by providing low level access to audio, keyboard, mouse, joystick, and graphics hardware. SDL, via its SDL_image library, also has the capability to handle various image formats such as XCF, the default layered image format for GIMP.
An attacker could compromise a user by exploiting one of these vulnerabilities via a specifically crafted file that SDL would handle, such as a XCF file.
Given that numerous applications make use of SDL, Talos has coordinated with the SDL community to disclose these vulnerabilities and ensure that an updated ver
http://www.securityfocus.com/bid/101215https://lists.debian.org/debian-lts-announce/2021/10/msg00031.htmlhttps://usn.ubuntu.com/4143-1/https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395http://www.securityfocus.com/bid/101215https://lists.debian.org/debian-lts-announce/2021/10/msg00031.htmlhttps://usn.ubuntu.com/4143-1/https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395
2017-10-11
Published