Advisory

GO-2020-0022

Also known as: CVE-2014-125026, GHSA-4wp2-8rm2-jgmh

Summary

Out-of-bounds write in github.com/cloudflare/golz4

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/cloudflare/golz4

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20140711154735-199f5f787806 (semver)

Fixed versions

0.0.0-20140711154735-199f5f787806

Fix

  • Fixed version 0.0.0-20140711154735-199f5f787806
    go get github.com/cloudflare/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences