Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-9q5j-jm53-v7vr — lz4-sys (CVE-2021-3520)

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-190 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

lz4-sys vulnerable to memory corruption via issue in liblz4

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

[CVE-2021-3520](https://nvd.nist.gov/vuln/detail/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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

GHSA-9q5j-jm53-v7vr is classified as CWE-190: Integer Overflow or Wraparound. Arithmetic produces a value too large for its type and wraps around, so a later size or bounds check passes when it should not.

Affected software

GHSA-9q5j-jm53-v7vr is recorded against 1 package.

  • lz4-sys

Timeline and source

Published on 1 September 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
rustsec.org (Web)

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-190
Public Exploit ✅ No
Source OSV
Published 2022-09-01
Updated 2026-08-20
Modified 2023-11-08
Fix URL N/A

Affected Packages

Software From version Fixed in
lz4-sys

Similar Threats

Exploit Protection

Are you running lz4-sys?

GHSA-9q5j-jm53-v7vr carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For GHSA-9q5j-jm53-v7vr →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.