Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515256 - sys-boot/syslinux: LZO Denial of Service and Arbitrary Code Execution through embedded code
Summary: sys-boot/syslinux: LZO Denial of Service and Arbitrary Code Execution through...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: A3 [upstream]
Keywords:
Depends on:
Blocks: CVE-2014-4607
  Show dependency tree
 
Reported: 2014-06-26 22:57 UTC by Yury German
Modified: 2014-08-01 11:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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