update to ssh V9.8.P1 to fix CVE-2024-6387 (#412)

* update to ssh V9.8.P1 to fix CVE-2024-6387

* update to ssh V9.8.P1 to fix CVE-2024-6387
This commit is contained in:
Daniel Wiegert 2024-07-11 23:32:38 +02:00 committed by GitHub
parent aa1f3b6370
commit 538481c33c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -16,12 +16,12 @@ FROM builder as testrunner
RUN apt update && apt install -y autoconf automake libssl-dev libz-dev RUN apt update && apt install -y autoconf automake libssl-dev libz-dev
RUN cd /tmp && \ RUN cd /tmp && \
curl -fsSL https://github.com/openssh/openssh-portable/archive/refs/tags/V_9_7_P1.tar.gz | tar xz && \ curl -fsSL https://github.com/openssh/openssh-portable/archive/refs/tags/V_9_8_P1.tar.gz | tar xz && \
cd openssh-portable-V_9_7_P1 && \ cd openssh-portable-V_9_8_P1 && \
autoreconf && \ autoreconf && \
./configure && \ ./configure && \
make ssh && \ make ssh && \
cp ssh /usr/bin/ssh-9.7.1p1 cp ssh /usr/bin/ssh-9.8.1p1
FROM docker.io/busybox FROM docker.io/busybox
# LABEL maintainer="Boshi Lian<farmer1992@gmail.com>" # LABEL maintainer="Boshi Lian<farmer1992@gmail.com>"

View file

@ -34,7 +34,7 @@ func TestFixed(t *testing.T) {
targetfie := uuid.New().String() targetfie := uuid.New().String()
c, stdin, stdout, err := runCmd( c, stdin, stdout, err := runCmd(
"ssh-9.7.1p1", "ssh-9.8.1p1",
"-v", "-v",
"-o", "-o",
"StrictHostKeyChecking=no", "StrictHostKeyChecking=no",