Integer overflow in LZ4 - CVE-2014-4611

 

Integer overflow in LZ4 - CVE-2014-4611

Published: July 3, 2014 / Updated: May 24, 2021


Vulnerability identifier: #VU41504
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-4611
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

the vulnerability exists due to integer overflow in the LZ4 algorithm implementation, as used in the lz4_uncompress function in lib/lz4/lz4_decompress.c in the Linux kernel on 32-bit platforms. A remote attacker create a specially crafted archive, trick the victim into opening it, trigger integer overflow and execute arbitrary code on the system.


Affected software

LZ4
Linux kernel
Ubuntu
linux-lts-saucy (Ubuntu package)
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)

How to mitigate CVE-2014-4611

Install update from vendor's website.

LZ4 - update to r118
Linux kernel - update to 3.15.2
linux-lts-saucy (Ubuntu package) - update to 3.11.0-26.45~precise1
linux (Ubuntu package) - update to 3.13.0-32.57
linux-lts-trusty (Ubuntu package) - update to 3.13.0-32.57~precise1

External References

Related Security Bulletins