UBUNTU-CVE-2021-3520

Source
https://ubuntu.com/security/CVE-2021-3520
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3520.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-3520
Related
Published
2021-04-30T00:00:00Z
Modified
2024-11-20T12:25:16Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / lz4

Package

Name
lz4
Purl
pkg:deb/ubuntu/lz4?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0~r114-2ubuntu1+esm2

Affected versions

0.*

0.0~r94-2
0.0~r99-1
0.0~r107-1
0.0~r109-1
0.0~r114-2ubuntu1
0.0~r114-2ubuntu1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-1"
        },
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-1-dbg"
        },
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-1-dbgsym"
        },
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-dev"
        },
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-dev-dbgsym"
        },
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-tool"
        },
        {
            "binary_version": "0.0~r114-2ubuntu1+esm2",
            "binary_name": "liblz4-tool-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / lz4

Package

Name
lz4
Purl
pkg:deb/ubuntu/lz4?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0~r131-2ubuntu2+esm1

Affected versions

0.*

0.0~r131-1
0.0~r131-2
0.0~r131-2ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-1"
        },
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-1-dbg"
        },
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-1-dbgsym"
        },
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-dev"
        },
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-dev-dbgsym"
        },
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-tool"
        },
        {
            "binary_version": "0.0~r131-2ubuntu2+esm1",
            "binary_name": "liblz4-tool-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / lz4

Package

Name
lz4
Purl
pkg:deb/ubuntu/lz4?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0~r131-2ubuntu3.1

Affected versions

0.*

0.0~r131-2ubuntu2
0.0~r131-2ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.0~r131-2ubuntu3.1",
            "binary_name": "liblz4-1"
        },
        {
            "binary_version": "0.0~r131-2ubuntu3.1",
            "binary_name": "liblz4-1-dbg"
        },
        {
            "binary_version": "0.0~r131-2ubuntu3.1",
            "binary_name": "liblz4-dev"
        },
        {
            "binary_version": "0.0~r131-2ubuntu3.1",
            "binary_name": "liblz4-tool"
        }
    ]
}

Ubuntu:20.04:LTS / lz4

Package

Name
lz4
Purl
pkg:deb/ubuntu/lz4?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.2-2ubuntu0.20.04.1

Affected versions

1.*

1.9.1-1
1.9.1-2
1.9.2-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.9.2-2ubuntu0.20.04.1",
            "binary_name": "liblz4-1"
        },
        {
            "binary_version": "1.9.2-2ubuntu0.20.04.1",
            "binary_name": "liblz4-1-dbgsym"
        },
        {
            "binary_version": "1.9.2-2ubuntu0.20.04.1",
            "binary_name": "liblz4-dev"
        },
        {
            "binary_version": "1.9.2-2ubuntu0.20.04.1",
            "binary_name": "liblz4-tool"
        },
        {
            "binary_version": "1.9.2-2ubuntu0.20.04.1",
            "binary_name": "lz4"
        },
        {
            "binary_version": "1.9.2-2ubuntu0.20.04.1",
            "binary_name": "lz4-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / lz4

Package

Name
lz4
Purl
pkg:deb/ubuntu/lz4?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.3-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.9.3-2",
            "binary_name": "liblz4-1"
        },
        {
            "binary_version": "1.9.3-2",
            "binary_name": "liblz4-1-dbgsym"
        },
        {
            "binary_version": "1.9.3-2",
            "binary_name": "liblz4-dev"
        },
        {
            "binary_version": "1.9.3-2",
            "binary_name": "liblz4-tool"
        },
        {
            "binary_version": "1.9.3-2",
            "binary_name": "lz4"
        },
        {
            "binary_version": "1.9.3-2",
            "binary_name": "lz4-dbgsym"
        }
    ]
}