Skip to content

Commit 104d47f

Browse files
Update versions to fix CVEs (#12)
1 parent 6a42c31 commit 104d47f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Dockerfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ RUN apt-get update && \
55
apt-get install -y curl git && \
66
rm -rf /var/lib/apt/lists/*
77

8+
# Security updates for CVE-2024-56406 (Perl), CVE-2025-7709 (SQLite)
9+
# Upgrade vulnerable system packages to their fixed versions
10+
RUN apt-get update && \
11+
apt-get upgrade -y \
12+
libperl5.40 \
13+
perl \
14+
perl-modules-5.40 \
15+
perl-base \
16+
libsqlite3-0 && \
17+
apt-get clean && \
18+
rm -rf /var/lib/apt/lists/*
19+
820
COPY /docker /scripts
921
COPY /functions /functions
1022

@@ -19,4 +31,4 @@ EXPOSE 8080
1931
HEALTHCHECK --interval=5s --timeout=10s --start-period=1s --retries=3 \
2032
CMD [ "bash", "-c", "exec curl -f http://localhost:${HASURA_CONNECTOR_PORT:-8080}/health" ]
2133

22-
CMD [ "/scripts/start.sh" ]
34+
CMD [ "/scripts/start.sh" ]

0 commit comments

Comments
 (0)