SB2019090528 - OpenSUSE Linux update for SDL2_image 



SB2019090528 - OpenSUSE Linux update for SDL2_image

Published: September 5, 2019 Updated: March 7, 2023

Security Bulletin ID SB2019090528
Severity
High
Patch available
YES
Number of vulnerabilities 12
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Medium 17% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 12 secuirty vulnerabilities.


1) NULL pointer dereference (CVE-ID: CVE-2019-12217)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dreference error in SDL stdio_read function in file/SDL_rwops.c. A remote attacker can perform a denial of service (DoS) attack.


2) NULL pointer dereference (CVE-ID: CVE-2019-12218)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dreference error in SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c. A remote attacker can perform a denial of service (DoS) attack.


3) Out-of-bounds read (CVE-ID: CVE-2019-12220)

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to an out-of-bounds read in libSDL2.a due to an out-of-bounds read in the SDL function SDL_FreePalette_REAL at video/SDL_pixels.c.


4) Buffer overflow (CVE-ID: CVE-2019-12221)

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a boundary error when processing images in the SDL_free_REAL() function at stdlib/SDL_malloc.c. A remote attacker can create a specially crafted image, trick the victim into opening it, trigger memory corruption and perform a denial of service (DoS) attack.


5) Out-of-bounds read (CVE-ID: CVE-2019-12222)

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to an out-of-bounds read in libSDL2.a due to an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.


6) Out-of-bounds read (CVE-ID: CVE-2019-13616)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to heap-based buffer over-read in the "BlitNtoN" function in the "video/SDL_blit_N.c" file when called from the "SDL_SoftBlit" function in the "video/SDL_blit.c" file. A remote attacker can trick a victim to open a specially crafted file and perform a denial of service attack.


7) Buffer overflow (CVE-ID: CVE-2019-5051)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


8) Integer overflow (CVE-ID: CVE-2019-5052)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


9) Buffer overflow (CVE-ID: CVE-2019-5057)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


10) Buffer overflow (CVE-ID: CVE-2019-5058)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


11) Integer overflow (CVE-ID: CVE-2019-5059)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

An exploitable code execution vulnerability exists in the XPM image rendering functionality of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow, 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.


12) Integer overflow (CVE-ID: CVE-2019-5060)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Remediation

Install update from vendor's website.