Debian DLA-2803-1 : libsdl2 - LTS security update

high Nessus Plugin ID 154751

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2803 advisory.

- 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. (CVE-2017-2888)

- SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer overflow in SDL_FillRect in video/SDL_surface.c. (CVE-2019-7637)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libsdl2 packages.

For Debian 9 stretch, these problems have been fixed in version 2.0.5+dfsg1-2+deb9u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878264

https://security-tracker.debian.org/tracker/source-package/libsdl2

https://www.debian.org/lts/security/2021/dla-2803

https://security-tracker.debian.org/tracker/CVE-2017-2888

https://security-tracker.debian.org/tracker/CVE-2019-7637

https://packages.debian.org/source/stretch/libsdl2

Plugin Details

Severity: High

ID: 154751

File Name: debian_DLA-2803.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/31/2021

Updated: 11/27/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-7637

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libsdl2-2.0-0, p-cpe:/a:debian:debian_linux:libsdl2-dev, p-cpe:/a:debian:debian_linux:libsdl2-doc, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/31/2021

Vulnerability Publication Date: 10/10/2017

Reference Information

CVE: CVE-2017-2888, CVE-2019-7637