Out-of-bounds Write Affecting lz4 package, versions <0.0~r131-2ubuntu2+esm1


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.15% (51st percentile)
Expand this section
NVD
9.8 critical
Expand this section
SUSE
8.6 high
Expand this section
Red Hat
8.6 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UBUNTU1604-LZ4-1298099
  • published 21 May 2021
  • disclosed 2 Jun 2021

How to fix?

Upgrade Ubuntu:16.04 lz4 to version 0.0~r131-2ubuntu2+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lz4 package and not the lz4 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

There's a flaw in lz4. An attacker who submits a crafted file to an application linked with lz4 may be able to trigger an integer overflow, leading to calling of memmove() on a negative size argument, causing an out-of-bounds write and/or a crash. The greatest impact of this flaw is to availability, with some potential impact to confidentiality and integrity as well.