poky/meta
Jagadeesh Krishnanjanappa 4a59df45f8 libxcursor: CVE-2017-16612
affects: <= 1.1.14

CVE-2017-16612: Fix heap overflows when parsing malicious files

It is possible to trigger heap overflows due to an integer overflow
while parsing images and a signedness issue while parsing comments.

The integer overflow occurs because the chosen limit 0x10000 for
dimensions is too large for 32 bit systems, because each pixel takes 4 bytes.
Properly chosen values allow an overflow which in turn will lead to less
allocated memory than needed for subsequent reads.

The signedness bug is triggered by reading the length of a comment
as unsigned int, but casting it to int when calling the function
XcursorCommentCreate. Turning length into a negative value allows the
check against XCURSOR_COMMENT_MAX_LEN to pass, and the following
addition of sizeof (XcursorComment) + 1 makes it possible to allocate
less memory than needed for subsequent reads.

(From OE-Core rev: bdf13518e79ab949c4320226a399ee4a3913ee30)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 10:22:46 +01:00
..
classes make-mod-scripts: add build requirements for external modules 2018-08-15 10:22:44 +01:00
conf yocto-uninative: Upgrade to version 2.2 2018-08-15 10:22:44 +01:00
files common-licenses: Add BSD-1-Clause 2018-07-19 10:54:55 +01:00
lib make-mod-scripts/kernel-devsrc: Fix objtool issues 2018-08-15 10:22:44 +01:00
recipes-bsp grub/grub-efi: fix conflict 2018-05-07 15:57:37 +01:00
recipes-connectivity dhcp: Security Advisory - CVE-2017-3144 2018-05-03 09:53:48 +01:00
recipes-core glibc: Update 2.26 to tip 2018-08-15 10:22:46 +01:00
recipes-devtools Binutils: Security fix for CVE-2018-7642 2018-08-15 10:22:45 +01:00
recipes-extended lsof: Update SRC_URI 2018-08-15 10:22:44 +01:00
recipes-gnome gobject-introspection: improve reproducibility 2017-12-04 17:23:57 +00:00
recipes-graphics libxcursor: CVE-2017-16612 2018-08-15 10:22:46 +01:00
recipes-kernel perf: disable parallelism for 'make clean' 2018-08-15 10:22:46 +01:00
recipes-multimedia libvorbis: CVE-2018-5146 2018-04-02 17:06:40 +01:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk_2.18.6.bb: Fix configure failure for aarch64 build 2018-02-27 15:51:03 +00:00
recipes-support popt: update SRC_URI 2018-07-19 10:54:55 +01:00
site siteinfo: nios2-linux - remove wrong mutex info 2017-10-07 23:20:40 +01:00
COPYING.GPLv2
COPYING.MIT
recipes.txt