Integer overflow in LZ4 library



Published: 2014-07-03 | Updated: 2021-05-24
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2014-4611
CWE-ID CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
LZ4
Client/Desktop applications / Software for archiving

Vendor LZ4

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Integer overflow

EUVDB-ID: #VU41504

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 - Integer overflow

Exploit availability: No

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.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted archive.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###