Skip to content

Commit 217d212

Browse files
aarthy-dkclaude
andcommitted
fix: bump cryptography, marshmallow, and pip for Docker Scout CVEs
- cryptography~=44.0.2 → ~=46.0.5 (HIGH CVE-2026-26007) - marshmallow~=3.19.0 → ~=3.26.2 (MEDIUM CVE-2025-68480) - Upgrade pip in BE Dockerfile runtime stage (MEDIUM CVE-2025-8869, LOW CVE-2026-1703) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 503643e commit 217d212

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

deploy/docker/observability-be.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ RUN python3 -O -m pip install --no-deps /tmp/dk --prefix=/dk
3232

3333
FROM ${BASE_IMAGE_URL}python:3.12.11-alpine3.22 AS runtime-image
3434

35-
RUN apk update && apk upgrade && apk add --no-cache librdkafka=2.10.0-r0
35+
RUN apk update && apk upgrade && apk add --no-cache librdkafka=2.10.0-r0 \
36+
&& pip install --no-cache-dir --upgrade pip
3637

3738
# Grab the pre-built app from the build-image. This way we don't have
3839
# excess laying around in the final image.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ dependencies = [
2626
"blinker~=1.9.0",
2727
"boltons~=23.0.0",
2828
"confluent-kafka==2.4.0",
29-
"cryptography~=44.0.2",
29+
"cryptography~=46.0.5",
3030
"flask~=3.1.0",
3131
"gunicorn~=23.0.0",
3232
"log-color==2.0.0",
3333
"Marshmallow-Peewee~=3.4.3",
34-
"marshmallow~=3.19.0",
34+
"marshmallow~=3.26.2",
3535
"marshmallow-union==0.1.15.post1",
3636
"msgpack==1.0.4",
3737
"oauthlib~=3.2",

0 commit comments

Comments
 (0)