{"answers":{"affected":"2 open source packages ship an affected version, including ibis-framework.","exploited":"There is no known exploitation of GHSA-x563-6hqv-26mr in the wild and no public exploit code.","fix":"Upgrade ibis-framework to 7.1.0 or later.","what":"GHSA-x563-6hqv-26mr is an unsafe deserialization vulnerability in ibis-framework, published on 17 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-x563-6hqv-26mr and fix it if it is affected.\n\nWhat it is: GHSA-x563-6hqv-26mr is an unsafe deserialization vulnerability in ibis-framework, published on 17 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-x563-6hqv-26mr in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ibis-framework (PyPI): affected all versions; fixed in 7.1.0\n- ibis-framework (PyPI): affected all versions; fixed in 7.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-x563-6hqv-26mr/ (Markdown: https://insights.sbomify.com/GHSA-x563-6hqv-26mr/index.md)","id":"GHSA-x563-6hqv-26mr","markdown":"https://insights.sbomify.com/GHSA-x563-6hqv-26mr/index.md","name":"GHSA-x563-6hqv-26mr","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python data library","requires_auth":"none","summary":"Deserialization of untrusted Parquet or IPC files in PyArrow allows arbitrary code execution, affecting Ibis users via Pandas or Dask backends.","user_interaction":"required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nDeserialization of untrusted data in IPC and Parquet readers in PyArrow versions 0.14.0 to 14.0.0 allows arbitrary code execution. An application is vulnerable if it reads Arrow IPC, Feather or Parquet data from untrusted sources (for example user-supplied input files). This vulnerability only affects PyArrow, not other Apache Arrow implementations or bindings.\n\nNote that Ibis itself makes **extremely limited** use of `pyarrow.parquet.read_table`:\n\n1. `read_table` is used in tests, where the input file is entirely controlled by the Ibis developers\n2. `read_table` is used in the `ibis/examples/__init__.py` as a fallback for backends that don't support reading Parquet directly. Parquet data used in `ibis.examples` are also managed by the Ibis developers. This Parquet data is generated from CSV files and SQLite databases.\n3. The Pandas and Dask backends both use PyArrow to read Parquet files and are therefore affected.\n\nIbis **does not** make use of APIs that directly read from either Arrow IPC files or Feather files.\n\n### Patches\n\nIbis imports the `pyarrow_hotfix` package wherever pyarrow is used, as of version 7.1.0.\n\nUpgrading to Arrow 14.0.1 is also a possible solution, starting in Ibis 7.1.0.\n\n### Workarounds\n\nInstall [`pyarrow_hotfix`](https://pypi.org/project/pyarrow-hotfix/) and run `import pyarrow_hotfix` ahead of any and all `import ibis` statements.\n\nFor example:\n\n```python\nimport ibis\n```\n\nbecomes\n\n```python\nimport pyarrow_hotfix\nimport ibis\n```\n\n### References\n\nhttps://www.cve.org/CVERecord?id=CVE-2023-47248\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-47248","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Ibis PyArrow dependency allows arbitrary code execution when loading a malicious data file","id":"GHSA-x563-6hqv-26mr","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2023"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["7.1.0"],"introduced":["0"],"last_affected":[],"package":"ibis-framework","purl":null,"source":"GHSA-x563-6hqv-26mr"},{"ecosystem":"PyPI","fixed":["7.1.0"],"introduced":["0"],"last_affected":[],"package":"ibis-framework","purl":"pkg:pypi/ibis-framework","source":"GHSA-x563-6hqv-26mr"}],"products":null,"published":"2023-11-17","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Deserialization of untrusted Parquet or IPC files in PyArrow allows arbitrary code execution, affecting Ibis users via Pandas or Dask backends.","url":"https://insights.sbomify.com/GHSA-x563-6hqv-26mr/"}