Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump golang.org/x/crypto to 0.17.0 (security) #427

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Commits on Dec 22, 2023

  1. Bump golang.org/x/crypto to 0.17.0 (security)

    This fixes the following vulnerabilities, as reported by govulncheck:
    
    Vulnerability shazow#1: GO-2023-2402
        Man-in-the-middle attacker can compromise integrity of secure channel in
        golang.org/x/crypto
      More info: https://pkg.go.dev/vuln/GO-2023-2402
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]
        Example traces found:
          shazow#1: work/ssh-chat-1.10/sshd/client.go:42:33: sshd.ConnectShell calls ssh.Client.NewSession
          shazow#2: work/ssh-chat-1.10/sshd/client.go:36:23: sshd.ConnectShell calls ssh.Dial
          shazow#3: work/ssh-chat-1.10/sshd/net.go:49:2: sshd.SSHListener.handleConn calls ssh.DiscardRequests
          shazow#4: work/ssh-chat-1.10/sshd/net.go:43:55: sshd.SSHListener.handleConn calls ssh.NewServerConn
          shazow#5: work/ssh-chat-1.10/sshd/terminal.go:222:13: sshd.Terminal.listen calls ssh.Request.Reply
          shazow#6: work/ssh-chat-1.10/sshd/client.go:46:2: sshd.ConnectShell calls ssh.Session.Close
          shazow#7: work/ssh-chat-1.10/sshd/client.go:70:30: sshd.ConnectShell calls ssh.Session.SendRequest
          shazow#8: work/ssh-chat-1.10/sshd/client.go:65:21: sshd.ConnectShell calls ssh.Session.Shell
          shazow#9: work/ssh-chat-1.10/cmd/ssh-chat/cmd.go:243:14: ssh.main calls fmt.Fprintln, which eventually calls ssh.channel.Read
          shazow#10: work/ssh-chat-1.10/sshd/terminal/terminal.go:954:17: terminal.Terminal.SetBracketedPasteMode calls io.WriteString, which calls ssh.channel.Write
          shazow#11: work/ssh-chat-1.10/cmd/ssh-chat/cmd.go:243:14: ssh.main calls fmt.Fprintln, which eventually calls ssh.extChannel.Read
    
    Vulnerability shazow#4: GO-2022-0968
        Panic on malformed packets in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2022-0968
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]
        Example traces found:
          shazow#1: work/ssh-chat-1.10/sshd/client.go:36:23: sshd.ConnectShell calls ssh.Dial
          shazow#2: work/ssh-chat-1.10/sshd/net.go:43:55: sshd.SSHListener.handleConn calls ssh.NewServerConn
    
    Vulnerability shazow#5: GO-2021-0356
        Denial of service via crafted Signer in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2021-0356
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]
        Example traces found:
          shazow#1: work/ssh-chat-1.10/cmd/ssh-chat/cmd.go:122:19: ssh.main calls ssh.ServerConfig.AddHostKey
    
    Vulnerability shazow#6: GO-2021-0227
        Panic on crafted authentication request message in golang.org/x/crypto/ssh
      More info: https://pkg.go.dev/vuln/GO-2021-0227
      Module: golang.org/x/crypto
        Found in: golang.org/x/[email protected]
        Fixed in: golang.org/x/[email protected]
        Example traces found:
          shazow#1: work/ssh-chat-1.10/sshd/net.go:43:55: sshd.SSHListener.handleConn calls ssh.NewServerConn
    bsiegert committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    bdd716e View commit details
    Browse the repository at this point in the history