CVE-2019-0210: Github.com/apache/thrift Out-of-bounds Read Vulnerability
HIGHCVE-2019-0210 is a HIGH (CVSS 7.5) out-of-bounds read vulnerability (CWE-125: Out-of-bounds Read) affecting Github.com/apache/thrift libraries in the Go ecosystem. The issue involves out-of-bounds read in apache thrift. Remediation is available by upgrading affected packages to version 0.13.0.
CVE-2019-0210 at a Glance
Security Impact
CVSS: 7.5
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:N/I:N/A:H).
How to Fix CVE-2019-0210
To remediate this vulnerability, upgrade all affected Github.com/apache/thrift 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/apache/thrift to 0.13.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/apache/thrift
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-0210, inspect your project dependencies for Github.com/apache/thrift:
inspect dependencies for github.com/apache/thrift
Analyze the terminal output to locate any version of Github.com/apache/thrift in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.0), 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-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Github.com/apache/thrift, 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-2019-0210 Affected Github.com/apache/thrift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/apache/thrift
|
Go |
≥ 0.9.3
< 0.13.0
|
0.13.0
|
References
Frequently Asked Questions
What is CVE-2019-0210?
Which Github.com/apache/thrift versions are affected?
What version fixes CVE-2019-0210?
Is github.com/apache/thrift affected?
What is the CVSS score of CVE-2019-0210?
What CWE is associated with CVE-2019-0210?
How can I check Go dependencies for CVE-2019-0210?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jq7p-26h5-w78r",
"modified" : "2022-10-31T15:57:25Z",
"published" : "2021-05-18T15:32:04Z",
"aliases" : [ "CVE-2019-0210" ],
"summary" : "Out-of-bounds read in Apache Thrift",
"details" : "In Apache Thrift 0.9.3 to 0.12.0, a server implemented in Go using TJSONProtocol or TSimpleJSONProtocol may panic when feed with invalid input data.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/apache/thrift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.9.3"
}, {
"fixed" : "0.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-0210"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/thrift/commit/264a3f318ed3e9e51573f67f963c8509786bcec2"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0804"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0805"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0806"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0811"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/thrift"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/thrift/blob/master/CHANGES.md#0130"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r2832722c31d78bef7526e2c701ba4b046736e4c851473194a247392f@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r36581cc7047f007dd6aadbdd34e18545ec2c1eb7ccdae6dd47a877a9@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r55609613abab203a1f2c1f3de050b63ae8f5c4a024df0d848d6915ff@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rab740e5c70424ef79fd095a4b076e752109aeee41c4256c2e5e5e142@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2021-0101"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/202107-32"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujul2021.html"
}, {
"type" : "WEB",
"url" : "http://mail-archives.apache.org/mod_mbox/thrift-dev/201910.mbox/%3C277A46CA87494176B1BBCF5D72624A2A%40HAGGIS%3E"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-17T21:09:18Z",
"nvd_published_at" : "2019-10-29T19:15:00Z"
}
}