Integer overflow in LZ4 library



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

CVSSv4.0: 5.7 [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/E:U/U:Amber]

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

CPE2.3 External links

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