Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515250 - sys-boot/grub:2 - LZO Denial of Service and Arbitrary Code Execution through embedded code
Summary: sys-boot/grub:2 - LZO Denial of Service and Arbitrary Code Execution through ...
Status: RESOLVED WONTFIX
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:11 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2018-05-20 15:11 UTC (History)
4 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 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-06-26 22:11:46 UTC
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 Mike Gilbert gentoo-dev 2014-06-27 03:54:51 UTC
The relevant code seems to exist in sys-boot/grub:2 in grub-core/lib/minilzo/minilzo.c.

I have no idea how to "fix" it; I will leave that to upstream.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-06-27 10:11:08 UTC
Thanks. Do you have the upstream bug ID tracking this?
Comment 3 Mike Gilbert gentoo-dev 2014-06-27 15:23:57 UTC
I am not aware of a bug report upstream as of yet.
Comment 4 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-06-27 16:07:40 UTC
I've filed an upstream bug on https://savannah.gnu.org/bugs/index.php?42635
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-22 21:04:20 UTC
Kristian, maybe you want to ping the bug again? Library is still not updated in grub's git master.
Comment 6 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-11-22 21:12:24 UTC
(In reply to Thomas Deutschmann from comment #5)
> Kristian, maybe you want to ping the bug again? Library is still not updated
> in grub's git master.

I tend to agree with the assessment that severity is low on this
Comment 7 Aaron Bauman (RETIRED) gentoo-dev 2018-05-20 15:11:17 UTC
Upstream has no concerns of exploit with this and nothing has been found in the wild.  Furthermore, if a possible exploit existed then usual security measures would prevent it.