Tóm tắt nhanh
- CVE-2023-46250 là lỗ hổng mức TRUNG BÌNH (CVSS 5.5) ảnh hưởng pypdf, pypdf (pypdf project).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.25%, cao hơn 17.0% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 3.17.0 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| pypdf PyPI | ≥ 3.7.0, < 3.17.0
| 3.17.0
|
| pypdf | ≥ 3.7.0, < 3.17.0
| 3.17.0
|
Mô tả
Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop.
This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage.
That is, for example, the case when the pypdf-user manipulates an incoming malicious PDF e.g. by merging it with another PDF or by adding annotations.
Patches
The issue was fixed with #2264
Workarounds
If you cannot update your version of pypdf, you should modify pypdf/generic/_data_structures.py just like #2264 did.
Mô tả của NVD
pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions 3.7.0 through 3.16.4 can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case when the pypdf-user manipulates an incoming malicious PDF e.g. by merging it with another PDF or by adding annotations. The issue was fixed in version 3.17.0. As a workaround, apply the patch manually by modifying `pypdf/generic/_data_structures.py`.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí