Apache Arrow PyArrow Arbitrary Code Execution Vulnerability (CVS 2023-47248) Notification

Apache Arrow PyArrow Arbitrary Code Execution Vulnerability (CVS 2023-47248) Notification

novembro 15, 2023 | NSFOCUS

Overview

Recently, NSFOCUS CERT found that Apache Arrow issued a security notice, which fixed an arbitrary code execution vulnerability in the PyArrow library (CVE-2023-47248). Due to PyArrow reading Arrow IPC, Feather, or Parquet data from untrusted sources, PyExtensionType creates an automatic loading feature that allows for deserialization of data from non PyArrow sources. When using PyExtensionType to create PyArrow specific extension types, attackers can achieve arbitrary code execution on the target system by constructing malicious data packets. At present, the details of the vulnerability have been disclosed in public. Affected users should take protective measures as soon as possible.

Reference link: https://www.mail-archive.com/announce @Apache.org/msg08653.html

Scope of Impact

Affected version

  • 0.14.0<=Apache Arrow PyArrow<=14.0.0

Unaffected version

  • Apache Arrow PyArrow>=14.0.1

Mitigation

Official upgrade

At present, the official has released a new version to address this vulnerability. Affected users are requested to upgrade the version as soon as possible for protection. Download link: https://github.com/apache/arrow/tags

Other protective measures

If the relevant users are temporarily unable to perform the upgrade operation, they can disable the vulnerability on the old version of PyArrow according to the official provided separate “pyarrow hotfix” software package. Please refer to: https://pypi.org/project/pyarrow-hotfix/

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.