GO-2020-0022

See a problem?
Source
https://pkg.go.dev/vuln/GO-2020-0022
Import Source
https://vuln.go.dev/ID/GO-2020-0022.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0022
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
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.

References
Credits
    • Yann Collet

Affected packages

Go / github.com/cloudflare/golz4

Package

Name
github.com/cloudflare/golz4
View open source insights on deps.dev
Purl
pkg:golang/github.com/cloudflare/golz4

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20140711154735-199f5f787806

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/cloudflare/golz4",
            "symbols": [
                "Uncompress"
            ]
        }
    ]
}