GHSA-9q5j-jm53-v7vr
JSON

9.8critical

lz4-sys vulnerable to memory corruption via issue in liblz4

Severity
9.8critical CVSS:3.1 by GitHub
Published
Last changed
Also known as
RUSTSEC-2022-0051

Description

lz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to CVE-2021-3520.

Attackers could craft a payload that triggers an integer overflow upon decompression, causing an out-of-bounds write.

The flaw has been corrected in version v1.9.4 of liblz4, which is included in lz4-sys 1.9.4.

Affected

Product or packageVersionsReported by
lz4-sys (crates.io)before 1.9.4, from 0.0.0-0 before 1.9.4GitHub Advisory Database, RustSec Advisory Database

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

References

Related

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-9q5j-jm53-v7vr changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2022-0051 changed 2026-02-04CC0-1.0