Skip to content

LZ4 vulnerable to Out-of-bounds Write

Critical severity GitHub Reviewed Published Dec 28, 2022 to the GitHub Advisory Database • Updated May 20, 2024

Package

gomod github.com/cloudflare/golz4 (Go)

Affected versions

< 0.0.0-20140711154735-199f5f787806

Patched versions

0.0.0-20140711154735-199f5f787806

Description

LZ4 bindings use a deprecated C API that is vulnerable to memory corruption, which could lead to arbitrary code execution if called with untrusted user input.

References

Published by the National Vulnerability Database Dec 27, 2022
Published to the GitHub Advisory Database Dec 28, 2022
Reviewed Jan 9, 2023
Last updated May 20, 2024

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2014-125026

GHSA ID

GHSA-4wp2-8rm2-jgmh

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.