Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 515256

Summary: sys-boot/syslinux: LZO Denial of Service and Arbitrary Code Execution through embedded code
Product: Gentoo Security Reporter: Yury German <blueknight>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, chithanh, k_f
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: A3 [upstream]
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 515246    

Description Yury German Gentoo Infrastructure gentoo-dev 2014-06-26 22:57:09 UTC
+++ This bug was initially created as a clone of Bug #515250 +++

It is suspected that this package is vulnerable to a security vulnerability in LZO. As such we ask maintainers with packages suspected to be vulnerable to verify if the package is (or have been) affected. 

Please see the information contained in the tracker bug 515246. "An integer overflow may occur when processing any variant of a "literal run" in the lzo1x_decompress_safe function. Each of these three locations is subject to an integer overflow when processing zero bytes.", additional information about the upstream vulnerability is available at http://seclists.org/oss-sec/2014/q2/665
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-06-27 09:22:26 UTC
http://seclists.org/oss-sec/2014/q2/676

syslinux does contain the affected code, but I am not sure about the impact. If I understand correctly, the attacker needs to point the boot loader to a specially crafted LZO compressed archive.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-06-27 22:29:46 UTC
From http://seclists.org/oss-sec/2014/q2/695: 
For the record, I just upgraded Syslinux to LZO 2.07.  The only code
that ends up in the Syslinux build at all changed only in comments and
in #if'd out code.  The only use of LZO is in the Syslinux core, which
uses the assembly LZO implementation, which seems to have been unaffected.

Syslinux does not use LZO on arbitrary data.
	-hpa