Skip to content

Commit 3b5eafe

Browse files
committed
Patch cves
1 parent fa07f52 commit 3b5eafe

File tree

5 files changed

+109
-84
lines changed

5 files changed

+109
-84
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ ENV PYTHONUNBUFFERED=1
66
ENV PATH="/app/venv/bin:$PATH"
77

88
# Install system dependencies required for Poetry
9+
# Patching CVE-2025-68121 (Go crypto/tls improper certificate validation, requires Go >= 1.26.0)
910
RUN apt-get update && \
11+
apt-get upgrade -y && \
1012
dpkg --add-architecture arm64
1113

1214
# Set the working directory

enforcer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ ENV PATH="/app/venv/bin:$PATH"
66

77
# Patching CVE-2025-6965 (requires sqlite >= 3.50.2)
88
# Alpine's current version (3.51.1-r0) already includes the fix
9-
RUN apk update && apk add --no-cache --upgrade \
9+
# Patching CVE-2025-68121 (Go crypto/tls improper certificate validation, requires Go >= 1.26.0)
10+
RUN apk update && apk upgrade --no-cache && apk add --no-cache --upgrade \
1011
sqlite-libs sqlite
1112

1213
# Set the working directory

0 commit comments

Comments
 (0)