Skip to content

Conversation

@jaredledvina
Copy link

While working on my other PR I noticed that the Dockerfile was running python 3.9 which just went into EOL status in October. So this PR, upgrades the project to 3.12 along with the latest version of flask. I've included the upgrade to requests and waitress too as they had some open CVE's.

I've built and run the image locally from this setup of changes and all seems well so far.

- Update macOS ARM installer workflow to Python 3.12
- Update macOS Intel installer workflow to Python 3.12
- Update Windows installer workflow to Python 3.12
- Update distribution script requirement check to Python 3.12
- Update documentation to reference Python 3.12
PyYAML 6.0 does not have pre-built wheels for Python 3.12 and fails
to build from source. Version 6.0.2 includes Python 3.12 support.
Fixes multiple security vulnerabilities:
- CVE-2024-47081: Malicious URLs could retrieve wrong credentials from netrc
- CVE-2024-35195: verify=False persisting across requests to same origin
- CVE-2023-32681: Proxy-Authorization header leakage on HTTPS redirects
Fixes multiple security vulnerabilities:
- GHSA-3f84-rpwh-47g6: Race condition causing busy loop on half-open sockets
- GHSA-9298-4cf8-g4wj: HTTP request smuggling vulnerability
- Issue plexguide#451/452: Improved untrusted proxy header validation
Admin9705 added a commit that referenced this pull request Jan 22, 2026
- Update Python version from 3.9/3.10 to 3.12 across all platforms
- Upgrade Flask from 3.0.0 to 3.1.2
- Upgrade requests from 2.31.0 to 2.32.5
- Upgrade waitress from 2.1.2 to 3.0.2
- Upgrade pyyaml from 6.0 to 6.0.2
- Update documentation to reflect Python 3.12+ requirement
- Update GitHub Actions workflows for macOS (ARM/Intel) and Windows
- Update Dockerfile base image to python:3.12-slim
- Update Windows setup script to require Python 3.12+

This addresses CVE's in requests and waitress, and ensures compatibility with
Python 3.12 which provides improved performance and security.
@Admin9705
Copy link
Contributor

@Admin9705 Admin9705 closed this Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants