kcve.ai취약점 정보 · 내 자산 확인

CVE-2022-24859 Manipulated inline images can cause Infinite Loop in PyPDF2

설명

PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In versions prior to 1.27.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if the PyPDF2 if the code attempts to get the content stream. The reason is that the last while-loop in `ContentStream._readInlineImage` only terminates when it finds the `EI` token, but never actually checks if the stream has already ended. This issue has been resolved in version `1.27.5`. Users unable to upgrade should validate and PDFs prior to iterating over their content stream.

영향 받는 제품 제품 1개

  • py-pdf

    PyPDF2

    해결 버전 있음

    영향 받는 버전

    • 1.27.5 미만

    해결 버전

    • 1.27.5 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의