GLSA-202305-18 : libsdl2: Multiple Vulnerabilities

high Nessus Plugin ID 175053

Description

The remote host is affected by the vulnerability described in GLSA-202305-18 (libsdl2: Multiple Vulnerabilities)

- There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution. (CVE-2021-33657)

- A potential memory leak issue was discovered in SDL2 in GLES_CreateTexture() function in SDL_render_gles.c. The vulnerability allows an attacker to cause a denial of service attack. The vulnerability affects SDL2 v2.0.4 and above. SDL-1.x are not affected. (CVE-2022-4743)

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

Solution

All libsdl2 users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=media-libs/libsdl2-2.26.0

See Also

https://security.gentoo.org/glsa/202305-18

https://bugs.gentoo.org/show_bug.cgi?id=836665

https://bugs.gentoo.org/show_bug.cgi?id=890614

Plugin Details

Severity: High

ID: 175053

File Name: gentoo_GLSA-202305-18.nasl

Version: 1.0

Type: local

Published: 5/3/2023

Updated: 5/3/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2021-33657

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libsdl2, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/3/2023

Vulnerability Publication Date: 4/1/2022

Reference Information

CVE: CVE-2021-33657, CVE-2022-4743