Vulnerabilities in pkg:gem/red-arrow
PACKAGECVE-2019-12408 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-909: Missing Initialization of Resource) affecting Pyarrow libraries in the PyPI ecosystem. The issue involves missing initialization of resource in apache arrow. Remediation is available by upgrading affected packages to version 0.15.1.
pkg:gem/red-arrow
Vulnerability advisories affecting package pkg:gem/red-arrow. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8cw2-jv5c-c825 | CVE-2019-12408 | HIGH | Missing Initialization of Resource in Apache Arrow |
| GHSA-cjw4-2w9r-r8mv | CVE-2019-12410 | HIGH | Missing Initialization of Resource in Apache Arrow |
CVE-2019-12408 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-12408
To remediate this vulnerability, upgrade all affected Pyarrow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pyarrow>=0.15.1
Upgrade red-arrow to 0.15.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyarrow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-12408, inspect your installed packages using pip:
pip show pyarrow
Analyze the terminal output to locate any version of Pyarrow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.15.1), your application is affected.
Note: The pip show pyarrow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-909: Missing Initialization of Resource, where the product does not initialize a critical resource. In Pyarrow, 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-12408 Affected Pyarrow Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyarrow
|
PyPI |
≥ 0.14.0
< 0.15.1
|
0.15.1
|
|
red-arrow
|
RubyGems |
≥ 0.14.0
< 0.15.1
|
0.15.1
|
References
Frequently Asked Questions
What is CVE-2019-12408?
Which Pyarrow versions are affected?
What version fixes CVE-2019-12408?
Is pyarrow affected?
Is red-arrow affected?
What is the CVSS score of CVE-2019-12408?
What CWE is associated with CVE-2019-12408?
How can I check PyPI dependencies for CVE-2019-12408?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8cw2-jv5c-c825",
"modified" : "2024-10-21T21:04:09Z",
"published" : "2022-05-24T17:00:40Z",
"aliases" : [ "CVE-2019-12408" ],
"summary" : "Missing Initialization of Resource in Apache Arrow",
"details" : "It was discovered that the C++ implementation (which underlies the R, Python and Ruby implementations) of Apache Arrow 0.14.0 to 0.14.1 had a uninitialized memory bug when building arrays with null values in some cases. This can lead to uninitialized memory being unintentionally shared if Arrow Arrays are transmitted over the wire (for instance with Flight) or persisted in the streaming IPC and file formats.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyarrow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.14.0"
}, {
"fixed" : "0.15.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "red-arrow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.14.0"
}, {
"fixed" : "0.15.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-12408"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pyarrow/PYSEC-2019-195.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/red-arrow/CVE-2019-12408.yml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/49f067b1c5fb7493d952580f0d2d032819ba351f7a78743c21126269@%3Cdev.arrow.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/efd8bbf57427d3c303b5316d208a335f8d0c0dbe0dc4c87cfa995073@%3Cannounce.apache.org%3E"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-909" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-28T14:36:34Z",
"nvd_published_at" : "2019-11-08T19:15:00Z"
}
}