字号·· | 护眼
漏洞档案 · 严重

Apache PyArrow 反序列化漏洞(CVE-2023-47248)

CVE-2023-47248 别名:GHSA-5WVP-7F3H-6WMM、PYSEC-2023-238
CVSS 9.8 / 3.1 EPSS 13.2% CISA KEV 在野利用 公开 PoC · 1 Nuclei 模板
综合风险76/ 100
CVSS9.8严重
EPSS13.2%30 天利用概率
机构收录时间2023-11-09更新 2026-12-01

研判简报

概述

PyArrow 0.14.0 至 14.0.0 的 IPC 与 Parquet 读取器存在不可信数据反序列化问题(CWE-502),攻击者可通过恶意构造的 Python 扩展类型触发任意代码执行。应用只要从不可信来源(如用户上传文件)读取 Arrow IPC、Feather 或 Parquet 数据即受影响。官方明确该漏洞仅影响 PyArrow,不影响其他 Apache Arrow 实现或绑定。使用 PyArrow 处理外部数据的服务与下游库维护者应重点关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 75.05/100,评级 critical。攻击面为面向不可信输入数据的解析路径,无需认证与用户交互。

利用状态

截至核查日期 2026-11-27:已收录 CISA KEV(2025-03-16),CISA SSVC 判定 exploitation=active;存在公开 Nuclei 模板(http/cves/2023/CVE-2023-47248.yaml)与 Exploit-DB/公开 PoC 1 条;EPSS 30 天利用概率 9.2%(百分位 96.1%)。材料未给出勒索软件关联信息。

受影响产品

Apache Software Foundation PyArrow >=0.14.0 <=14.0.0。涉及组件为 IPC、Feather 与 Parquet 读取器;部署形态材料未给出(官方仅说明影响 PyArrow 本身,不影响其他 Arrow 实现或绑定)。

修复版本

官方建议升级至 PyArrow 14.0.1,并建议下游库将依赖要求提升至 14.0.1 或更高;PyPI 包已可用,conda-forge 包官方表示希望尽快提供(具体时间材料未给出)。无法升级时可使用独立包 pyarrow-hotfix 在旧版本上禁用该漏洞,说明见 https://pypi.org/project/pyarrow-hotfix/ 。

缓解措施

无法立即升级时,安装并启用 pyarrow-hotfix 以在旧版本上关闭漏洞路径;避免从不可信来源读取 Arrow IPC、Feather、Parquet 数据,或先在隔离环境中校验/转换输入;依据 KEV 要求按厂商指引应用修复或缓解,否则停止使用该产品(期限材料未给出)。

响应步骤

  1. 盘点环境中 PyArrow 版本,确认是否落在 0.14.0–14.0.0 区间,并排查下游库的依赖约束。
  2. 升级至 14.0.1 或更高,或部署 pyarrow-hotfix 作为临时缓解。
  3. 审查对外暴露的文件上传与数据导入接口,识别读取 Arrow IPC、Feather、Parquet 的入口点。
  4. 使用现有 Nuclei 模板对相关服务做检测验证,并结合日志排查异常 Flight RPC/DoPut 请求。
  5. 按 KEV 要求记录修复或缓解完成情况;材料未给出 KEV 期限,需以官方通告为准。

参考来源

  1. https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-47248kev
  2. https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2023-47248kev
  3. https://vulncheck.com/kev/cve-2023-47248advisory,vulncheck_kev
  4. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-47248.yamlexploit,nuclei
  5. https://lists.apache.org/thread/yhy7tdfjf9hrl9vfrtzo8p2cyjq87v7nvendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  6. https://github.com/apache/arrow/commit/f14170976372436ec1d03a724d8d3f3925484ecfpatch,patch,x_transferred,advisory,euvd
  7. https://pypi.org/project/pyarrow-hotfix/mitigation,mitigation,x_transferred,Product,advisory,euvd
  8. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FR34AIPXVTMB3XPRU5ULV5HHWPMRE33X/x_transferred,advisory,euvd
  9. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MAGWEAJDWO2ACYATUQCPXLSYY5C3L3XU/x_transferred,advisory,euvd
  10. https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWFYXLVBTBHNKYRXI572RFX7IJDDQGBL/x_transferred,advisory,euvd
  11. https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0212advisory,euvd
  12. https://github.com/Prodigysec/pyarrow-CVE-2023-47248exploit,poc_github