Skip to content

Commit 84366c4

Browse files
committed
fix: Add an explicit Pillow constraint to exclude known-vulnerable versions.
1 parent cebefce commit 84366c4

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ requires-python = ">=3.10"
1818
dependencies = [
1919
"flask>=3.0,<4",
2020
"fpdf2>=2.7,<3",
21+
# Security floor: fpdf2 allows Pillow>=8.3.2, so 9.x can still be resolved.
22+
# CVE-2024-28219 (buffer overflow) fixed in Pillow 10.3.0 — https://nvd.nist.gov/vuln/detail/CVE-2024-28219
23+
"pillow>=10.3.0",
2124
]
2225

2326
[project.optional-dependencies]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
# pip install -e ".[desktop]" (+ pywebview for the GUI launcher)
77
flask>=3.0,<4
88
fpdf2>=2.7,<3
9+
pillow>=10.3.0
910
# pywebview is desktop-only — install with: pip install -e ".[desktop]"

0 commit comments

Comments
 (0)