1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor/golang.org/x/crypto/ssh
Sebastiaan van Stijn 917b44799d
vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
full diff: 5770296d90...3147a52a75

This version contains a fix for CVE-2022-27191 (not sure if it affects us).

From the golang mailing list:

    Hello gophers,

    Version v0.0.0-20220315160706-3147a52a75dd of golang.org/x/crypto/ssh implements
    client authentication support for signature algorithms based on SHA-2 for use with
    existing RSA keys.

    Previously, a client would fail to authenticate with RSA keys to servers that
    reject signature algorithms based on SHA-1. This includes OpenSSH 8.8 by default
    and—starting today March 15, 2022 for recently uploaded keys.

    We are providing this announcement as the error (“ssh: unable to authenticate”)
    might otherwise be difficult to troubleshoot.

    Version v0.0.0-20220314234659-1baeb1ce4c0b (included in the version above) also
    fixes a potential security issue where an attacker could cause a crash in a
    golang.org/x/crypto/ssh server under these conditions:

    - The server has been configured by passing a Signer to ServerConfig.AddHostKey.
    - The Signer passed to AddHostKey does not also implement AlgorithmSigner.
    - The Signer passed to AddHostKey does return a key of type “ssh-rsa” from its PublicKey method.

    Servers that only use Signer implementations provided by the ssh package are
    unaffected. This is CVE-2022-27191.

    Alla prossima,

    Filippo for the Go Security team

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-17 13:59:03 +01:00
..
internal/bcrypt_pbkdf vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
buffer.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
certs.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
channel.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
cipher.go go.mod: golang.org/x/crypto 5770296d904e90f15f38f77dfc2e43fdf5efc083 2021-12-03 09:19:28 +01:00
client.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
client_auth.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
common.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
connection.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
doc.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
handshake.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
kex.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
keys.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
mac.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
messages.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
mux.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
server.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
session.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00
ssh_gss.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
streamlocal.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
tcpip.go vendor: github.com/moby/buildkit v0.8.0-rc2 2020-11-19 10:31:35 +01:00
transport.go vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd 2022-03-17 13:59:03 +01:00