diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f238ee2..10de281 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -37,7 +37,7 @@ updates: commit-message: prefix: "CI" - # Basisimage im Dockerfile (python:3.14-slim) + # Basisimage im Dockerfile (python:3.15-slim) - package-ecosystem: docker directory: "/" schedule: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a6a455..f39ce6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" cache: pip cache-dependency-path: requirements-dev.txt - run: pip install -r requirements-dev.txt diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index d1aa676..d53c5c3 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -25,7 +25,7 @@ jobs: path: wiki - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 with: - python-version: "3.14" + python-version: "3.15" - name: Seiten erzeugen run: python tools/wiki_sync.py wiki --repo "$GITHUB_REPOSITORY" --version "$GITHUB_REF_NAME" - name: Ins Wiki hochladen diff --git a/CHANGELOG.md b/CHANGELOG.md index c2fbb20..f48aefb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.11.2 + +- **Security updates in the image:** the image now installs the Debian security updates that the base image does not contain yet. This fixes two vulnerabilities in zlib (CVE-2026-76844, CVE-2026-85091) and one in apt (CVE-2026-109518) that the weekly image scan reported. +- **Python 3.15:** the image is based on Python 3.15. To run RDAPI without Docker you now need Python 3.15. + ## 0.11.1 - **pip removed from the image:** pip is only needed to build the image. It brought its diff --git a/Dockerfile b/Dockerfile index e42f6c4..e055715 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM python:3.14-slim +# Pinned by digest; Dependabot proposes new digests +FROM python:3.15-slim@sha256:65a65fc7b30b06cb6df4930fd4650697cb23f4c2698ab81fc87e4b031bc36928 # Wird von GitHub Actions beim Release auf den Tag gesetzt (z. B. v0.3.0) ARG VERSION=dev @@ -15,6 +16,10 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /srv COPY requirements.txt . +# Security fixes Debian has published since the base image was built (e.g. zlib) +RUN apt-get update \ + && apt-get upgrade -y --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # pip wird zur Laufzeit nicht gebraucht und bringt eigene, oft veraltete Pakete mit # (urllib3, msgpack …), die der Image-Scan meldet: nach der Installation entfernen. RUN pip install --no-cache-dir -r requirements.txt \ diff --git a/README.de.md b/README.de.md index 5356699..0aa8aeb 100644 --- a/README.de.md +++ b/README.de.md @@ -5,7 +5,7 @@ [English](README.md) · **Deutsch**

- Python 3.14 + Python 3.15 Docker ready Platform amd64 | arm64 RustDesk app 1.5 diff --git a/README.md b/README.md index 8f5d66c..43210dd 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **English** · [Deutsch](README.de.md)

- Python 3.14 + Python 3.15 Docker ready Platform amd64 | arm64 RustDesk app 1.5 diff --git a/docs/de/development.md b/docs/de/development.md index 1a89e54..e97c09d 100644 --- a/docs/de/development.md +++ b/docs/de/development.md @@ -4,7 +4,7 @@ ## Lokal starten -Du brauchst Python 3.14. +Du brauchst Python 3.15. ```bash pip install -r requirements-dev.txt diff --git a/docs/en/development.md b/docs/en/development.md index e312fde..1ecf731 100644 --- a/docs/en/development.md +++ b/docs/en/development.md @@ -4,7 +4,7 @@ ## Running locally -You need Python 3.14. +You need Python 3.15. ```bash pip install -r requirements-dev.txt diff --git a/pyproject.toml b/pyproject.toml index 329b52a..532909f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "rdapi" version = "0.1.0" description = "Schlanker eigener API-Server für die RustDesk-App" -requires-python = ">=3.14" +requires-python = ">=3.15" [tool.pytest.ini_options] testpaths = ["tests"] @@ -10,7 +10,7 @@ pythonpath = [".", "tests"] [tool.ruff] line-length = 100 -target-version = "py314" +target-version = "py315" [tool.ruff.lint] select = ["E", "F", "W", "I", "B", "UP", "SIM"]