fix: patch CVE-2025-70873 by bumping base image to python:3.10-alpine3.23#308
fix: patch CVE-2025-70873 by bumping base image to python:3.10-alpine3.23#308
Conversation
Alpine 3.22 ships sqlite-libs 3.49.2-r1, which is vulnerable to CVE-2025-70873 (info disclosure in SQLite zipfile extension's zipfileInflate). Alpine 3.23 ships sqlite-libs 3.51.2-r0, which contains the upstream fix. Note that `apk del sqlite` only removes the CLI; sqlite-libs remains because Python's stdlib _sqlite3 module is dynamically linked against it, so a base-image bump is required.
🔍 Vulnerabilities of
|
| digest | sha256:c99553c9743d72997c06db7a0de699bcad062a41b6e8ec3e673bb1b1b26de8b8 |
| vulnerabilities | |
| platform | linux/amd64 |
| size | 122 MB |
| packages | 252 |
📦 Base Image python:3.10-alpine
| also known as |
|
| digest | sha256:1d5630a8fe200e88d58cbef2722d634a47d2f0979a28f3980bc7012b56975a3e |
| vulnerabilities |
Description
| ||||||||||||
Description
| ||||||||||||
Description
| ||||||||||||
Summary
python:3.10-alpine3.22→python:3.10-alpine3.23to remediate CVE-2025-70873 (information disclosure in SQLite'szipfileextensionzipfileInflate, fixed upstream in SQLite 3.51.2).sqlite-libs 3.49.2-r1(vulnerable). Alpine 3.23 shipssqlite-libs 3.51.2-r0, which contains the fix.apk del sqlitealready in the Dockerfile only drops the CLI;sqlite-libsremains because Python's stdlib_sqlite3module is dynamically linked against it — so a base-image bump is required to actually clear the finding.rust:1.94-alpine,golang:1.25-bookworm) don't contribute layers to the runtime image, so no changes needed there.Test plan
linux/amd64andlinux/arm64.apk add bash libffi libressl gcompator the pip build-deps virtual package on Alpine 3.23.References