Skip to main content

No project description provided

Project description

pyarrow_hotfix package on PyPI pyarrow_hotfix supported Python versions latest unit test results

Description

This is a hotfix for the PyArrow security vulnerability CVE-2023-47248.

We generally recommend upgrading to PyArrow 14.0.1 or later, but if you cannot upgrade, this package disables the vulnerability on older versions.

Installation

Use pip to install:

pip install pyarrow_hotfix

Usage

pyarrow_hotfix must be imported in your application or library code for it to take effect:

import pyarrow_hotfix

Supported versions

pyarrow_hotfix supports all Python versions starting from Python 3.5, and all PyArrow versions starting from 0.14.0.

Dependencies

pyarrow_hotfix is a pure Python package that does not have any explicit dependencies, and assumes you have installed pyarrow through other means (such as pip or conda).

Example

>>> import pyarrow as pa
>>> import pyarrow_hotfix
>>>
>>> pa.ipc.open_file('data.arrow')
Traceback (most recent call last):
  [ ... ]
RuntimeError: forbidden deserialization of 'arrow.py_extension_type': storage_type = null, serialized = b"\x80\x03cbuiltins\neval\nq\x00X\x15\x00\x00\x00print('hello world!')q\x01\x85q\x02Rq\x03.", pickle disassembly:
    0: \x80 PROTO      3
    2: c    GLOBAL     'builtins eval'
   17: q    BINPUT     0
   19: X    BINUNICODE "print('hello world!')"
   45: q    BINPUT     1
   47: \x85 TUPLE1
   48: q    BINPUT     2
   50: R    REDUCE
   51: q    BINPUT     3
   53: .    STOP
highest protocol among opcodes = 2

License

Like pyarrow, pyarrow_hotfix is distributed under the terms of the Apache License, version 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyarrow_hotfix-0.5.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

pyarrow_hotfix-0.5-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pyarrow_hotfix-0.5.tar.gz.

File metadata

  • Download URL: pyarrow_hotfix-0.5.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyarrow_hotfix-0.5.tar.gz
Algorithm Hash digest
SHA256 ba697c743d435545e99bfbd89818b284e4404c19119c0ed63380a92998c4d0b1
MD5 26d2d7d558c932727cac626812355afa
BLAKE2b-256 d14324099d16d147ae520fa2db0c1d8ef2ab26da2435c09ece7d01b9248d736a

See more details on using hashes here.

File details

Details for the file pyarrow_hotfix-0.5-py3-none-any.whl.

File metadata

  • Download URL: pyarrow_hotfix-0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyarrow_hotfix-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7e20a1195f2e0dd7b50dffb9f90699481acfce3176bfbfb53eded04f34c4f7c6
MD5 4cfb81073f8518e04efb71a73bfc6e38
BLAKE2b-256 369dfed46a4d94d05bc400bdaeb02d277ca5e61965cebe25b6029990d2191c0b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page