#VU41504 Integer overflow in LZ4


Published: 2014-07-03 | Updated: 2021-05-24

Vulnerability identifier: #VU41504

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2014-4611

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
LZ4
Client/Desktop applications / Software for archiving

Vendor: LZ4

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

LZ4: r116 - r117


External links
http://blog.securitymouse.com/2014/06/raising-lazarus-20-year-old-bug-that.html
http://fastcompression.blogspot.fr/2014/06/debunking-lz4-20-years-old-bug-myth.html
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=206204a1162b995e2185275167b22468c00d6b36
http://lists.opensuse.org/opensuse-updates/2014-07/msg00025.html
http://secunia.com/advisories/59567
http://secunia.com/advisories/59770
http://secunia.com/advisories/60238
http://twitter.com/djrbliss/statuses/484931749013495809
http://twitter.com/djrbliss/statuses/485042901399789568
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.2
http://www.openwall.com/lists/oss-security/2014/06/26/24
http://www.securitytracker.com/id/1030491
http://bugzilla.redhat.com/show_bug.cgi?id=1112436
http://code.google.com/p/lz4/issues/detail?id=52
http://code.google.com/p/lz4/source/detail?r=118
http://github.com/torvalds/linux/commit/206204a1162b995e2185275167b22468c00d6b36
http://www.securitymouse.com/lms-2014-06-16-5
http://www.securitymouse.com/lms-2014-06-16-6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability