Alpine: multiple sdl2_image packages: security update to 2.0.5-r0

high Tenable Self-Hosted Container Security Plugin ID 407152

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image
2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, allocating
too small of a buffer. This buffer can then be written out of bounds, resulting in a heap overflow,
ultimately ending in code execution. An attacker can display a specially crafted image to trigger this
vulnerability. (CVE-2019-5060)

- An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image,
version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An
attacker can provide a specially crafted image file to trigger this vulnerability. (CVE-2019-5051)

- An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. 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-2019-5052)

- An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image
2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker
can display a specially crafted image to trigger this vulnerability. (CVE-2019-5057)

- An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image
2.0.4. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker
can display a specially crafted image to trigger this vulnerability. (CVE-2019-5058)

See Also

https://security.alpinelinux.org/vuln/CVE-2019-12217

https://security.alpinelinux.org/vuln/CVE-2019-12218

https://security.alpinelinux.org/vuln/CVE-2019-12219

https://security.alpinelinux.org/vuln/CVE-2019-12221

https://security.alpinelinux.org/vuln/CVE-2019-12222

https://security.alpinelinux.org/vuln/CVE-2019-5051

https://security.alpinelinux.org/vuln/CVE-2019-5052

https://security.alpinelinux.org/vuln/CVE-2019-5057

https://security.alpinelinux.org/vuln/CVE-2019-5058

https://security.alpinelinux.org/vuln/CVE-2019-5059

https://security.alpinelinux.org/vuln/CVE-2019-5060

Plugin Details

Severity: High

ID: 407152

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

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-5060

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

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 5/20/2019

Reference Information

CVE: CVE-2019-12217, CVE-2019-12218, CVE-2019-12219, CVE-2019-12221, CVE-2019-12222, CVE-2019-5051, CVE-2019-5052, CVE-2019-5057, CVE-2019-5058, CVE-2019-5059, CVE-2019-5060