Vulnerabilities in pkg:golang/github.com/cloudflare/golz4
PACKAGECVE-2014-125026 is a CRITICAL (CVSS 9.8) lz4 vulnerable to out-of-bounds write vulnerability (CWE-787: Out-of-bounds Write) affecting Github.com/cloudflare/golz4 libraries in the Go ecosystem. The issue involves lz4 vulnerable to out-of-bounds write. Remediation is available by upgrading affected packages to version 0.0.0-20140711154735-199f5f787806.
pkg:golang/github.com/cloudflare/golz4
Vulnerability advisories affecting package pkg:golang/github.com/cloudflare/golz4. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4wp2-8rm2-jgmh | CVE-2014-125026 | CRITICAL | LZ4 vulnerable to Out-of-bounds Write |
CVE-2014-125026 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2014-125026
To remediate this vulnerability, upgrade all affected Github.com/cloudflare/golz4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cloudflare/golz4 to 0.0.0-20140711154735-199f5f787806
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cloudflare/golz4
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-125026, inspect your project dependencies for Github.com/cloudflare/golz4:
inspect dependencies for github.com/cloudflare/golz4
Analyze the terminal output to locate any version of Github.com/cloudflare/golz4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20140711154735-199f5f787806), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In Github.com/cloudflare/golz4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-125026 Affected Github.com/cloudflare/golz4 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cloudflare/golz4
|
Go |
< 0.0.0-20140711154735-199f5f787806
|
0.0.0-20140711154735-199f5f787806
|
References
Frequently Asked Questions
What is CVE-2014-125026?
Which Github.com/cloudflare/golz4 versions are affected?
What version fixes CVE-2014-125026?
Is github.com/cloudflare/golz4 affected?
What is the CVSS score of CVE-2014-125026?
What CWE is associated with CVE-2014-125026?
How can I check Go dependencies for CVE-2014-125026?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4wp2-8rm2-jgmh",
"modified" : "2024-05-20T19:43:07Z",
"published" : "2022-12-28T00:30:23Z",
"aliases" : [ "CVE-2014-125026" ],
"summary" : "LZ4 vulnerable to Out-of-bounds Write",
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cloudflare/golz4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20140711154735-199f5f787806"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-125026"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudflare/golz4/issues/5"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudflare/golz4/commit/199f5f7878062ca17a98e079f2dbe1205e2ed898"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cloudflare/golz4"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2020-0022"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-787" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T21:49:10Z",
"nvd_published_at" : "2022-12-27T22:15:00Z"
}
}