CVE-2021-28677
Uncontrolled Resource Consumption in Pillow
7.5
HIGH
CVSS 3.1
EPSS 2.3%
描述
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
如何修補 CVE-2021-28677
要修補 CVE-2021-28677,請將受影響套件升級到下列已修補版本。
- —升級至 8.2.0-r0 或更新版本
- —升級至 8.2.0 或更新版本
- —升級至 8.1.2+dfsg-0.2 或更新版本
- —升級至 8.2.0 或更新版本
- —升級至 8.2.0 或更新版本
CVE-2021-28677 正在被利用嗎?
低 — EPSS 為 2.3%,目前沒有觀察到大規模利用活動。
受影響套件(5)
- from 0, < 8.2.0-r0
- from 0, < 8.2.0
- from 0, < 8.1.2+dfsg-0.2
- from 0, < 8.2.0
- from 0, < 8.2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |