From d6ad53c440953c9c4c9a45808eb57ba8e5a43750 Mon Sep 17 00:00:00 2001 From: PPeitsch Date: Fri, 23 Oct 2026 23:58:06 -0300 Subject: [PATCH 1/2] chore(deps): bump Pillow to 13.0.0 37 known vulnerabilities in 12.3.0. Pillow 13 requires Python 3.11, which CI, the Docker image and the server already use. --- CHANGELOG.md | 1 + requirements.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8935b37..88679fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Security +- Pillow 13.0.0: 37 known vulnerabilities in 12.3.0, published on Oct 22 and 23. It requires Python 3.11, which CI and the Docker image already use. - Dependencies with known vulnerabilities: Flask 3.1.3, Werkzeug 3.1.9, requests 2.34.2, python-dotenv 1.2.4 and pdfplumber 0.11.10 (pdfminer.six 20260107, which no longer loads pickled CMaps from a crafted PDF). Pillow, cryptography, urllib3, idna, soupsieve and Mako are pinned to fixed versions although the app does not import them. ### Added diff --git a/requirements.txt b/requirements.txt index 11bfc16..6d5dc7a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,7 +18,7 @@ gunicorn==23.0.0 # Not imported by the app, pinned for their security fixes: Pillow and cryptography come with # pdfplumber (pdfminer.six), urllib3 and idna with requests, soupsieve with beautifulsoup4, # Mako with Flask-Migrate (alembic). -Pillow==12.3.0 +Pillow==13.0.0 cryptography==50.0.2 urllib3==2.8.0 idna==3.20 From c71c0f98259c3128ec0675231defa001ab0a3429 Mon Sep 17 00:00:00 2001 From: PPeitsch Date: Fri, 23 Oct 2026 23:58:06 -0300 Subject: [PATCH 2/2] chore(deps): pin certifi 2026.10.19 Transitive dependency (from requests) with a known vulnerability in the production venv. --- CHANGELOG.md | 1 + requirements.txt | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88679fc..c18820e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Security +- certifi 2026.10.19, pinned although the app does not import it (it comes with requests). - Pillow 13.0.0: 37 known vulnerabilities in 12.3.0, published on Oct 22 and 23. It requires Python 3.11, which CI and the Docker image already use. - Dependencies with known vulnerabilities: Flask 3.1.3, Werkzeug 3.1.9, requests 2.34.2, python-dotenv 1.2.4 and pdfplumber 0.11.10 (pdfminer.six 20260107, which no longer loads pickled CMaps from a crafted PDF). Pillow, cryptography, urllib3, idna, soupsieve and Mako are pinned to fixed versions although the app does not import them. diff --git a/requirements.txt b/requirements.txt index 6d5dc7a..685c6bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,11 +16,12 @@ openpyxl==3.1.2 gunicorn==23.0.0 # Not imported by the app, pinned for their security fixes: Pillow and cryptography come with -# pdfplumber (pdfminer.six), urllib3 and idna with requests, soupsieve with beautifulsoup4, -# Mako with Flask-Migrate (alembic). +# pdfplumber (pdfminer.six), urllib3, idna and certifi with requests, soupsieve with +# beautifulsoup4, Mako with Flask-Migrate (alembic). Pillow==13.0.0 cryptography==50.0.2 urllib3==2.8.0 idna==3.20 +certifi==2026.10.19 soupsieve==2.10 Mako==1.3.12