ALAS2-2019-1375


Amazon Linux 2 Security Advisory: ALAS-2019-1375
Advisory Release Date: 2019-12-13 19:38 Pacific
Advisory Updated Date: 2019-12-18 01:26 Pacific
Severity: Important

Issue Overview:

A heap-based buffer overflow flaw, in SDL while copying an existing surface into a new optimized one, due to a lack of validation while loading a BMP image, is possible. An application that uses SDL to parse untrusted input files may be vulnerable to this flaw, which could allow an attacker to make the application crash or execute code.(CVE-2019-14906)

SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read in BlitNtoN in video/SDL_blit_N.c when called from SDL_SoftBlit in video/SDL_blit.c.(CVE-2019-13616)
A heap-based buffer overflow was discovered in SDL in the SDL_BlitCopy() function, that was called while copying an existing surface into a new optimized one, due to lack of validation while loading a BMP image in the SDL_LoadBMP_RW() function. An application that uses SDL to parse untrusted input files may be vulnerable to this flaw, which could allow an attacker to make the application crash or possibly execute code.(CVE-2019-13616)


Affected Packages:

SDL


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update SDL to update your system.

New Packages:
aarch64:
    SDL-1.2.15-15.amzn2.aarch64
    SDL-devel-1.2.15-15.amzn2.aarch64
    SDL-static-1.2.15-15.amzn2.aarch64
    SDL-debuginfo-1.2.15-15.amzn2.aarch64

i686:
    SDL-1.2.15-15.amzn2.i686
    SDL-devel-1.2.15-15.amzn2.i686
    SDL-static-1.2.15-15.amzn2.i686
    SDL-debuginfo-1.2.15-15.amzn2.i686

src:
    SDL-1.2.15-15.amzn2.src

x86_64:
    SDL-1.2.15-15.amzn2.x86_64
    SDL-devel-1.2.15-15.amzn2.x86_64
    SDL-static-1.2.15-15.amzn2.x86_64
    SDL-debuginfo-1.2.15-15.amzn2.x86_64