Skip to content

chore(deps): update golang.org/x/crypto v0.52.0, golang.org/x/net v0.55.0#603

Merged
AkihiroSuda merged 1 commit into
rootless-containers:masterfrom
thaJeztah:bump_crypto
Jun 19, 2026
Merged

chore(deps): update golang.org/x/crypto v0.52.0, golang.org/x/net v0.55.0#603
AkihiroSuda merged 1 commit into
rootless-containers:masterfrom
thaJeztah:bump_crypto

Conversation

@thaJeztah

Copy link
Copy Markdown
Contributor
  • updates golang.org/x/crypto to v0.52.0 to address CVE-2026-46595, CVE-2026-39834, CVE-2026-42508, CVE-2026-39832, CVE-2026-39831, CVE-2026-39830, CVE-2026-39833,
  • updates golang.org/x/net to v0.55.0 to address CVE-2026-39821

govulncheck ./...
=== Symbol Results ===

Vulnerability #1: GO-2026-5020
    Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
  More info: https://pkg.go.dev/vuln/GO-2026-5020
  Module: golang.org/x/crypto
    Found in: golang.org/x/crypto@v0.50.0
    Fixed in: golang.org/x/crypto@v0.52.0
    Example traces found:
      #1: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.NewClientConn
      #2: pkg/port/builtin/parent/udp/udpproxy/udp_proxy.go:102:16: udpproxy.UDPProxy.Run calls fmt.Fprintf, which calls ssh.channel.Write

Vulnerability #2: GO-2026-5019
    Invoking bypass of FIDO/U2F security keys physical interaction in
    golang.org/x/crypto/ssh
  More info: https://pkg.go.dev/vuln/GO-2026-5019
  Module: golang.org/x/crypto
    Found in: golang.org/x/crypto@v0.50.0
    Fixed in: golang.org/x/crypto@v0.52.0
    Example traces found:
      #1: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.NewClientConn

Vulnerability #3: GO-2026-5018
    Invoking pathological RSA/DSA parameters may cause DoS in
    golang.org/x/crypto/ssh
  More info: https://pkg.go.dev/vuln/GO-2026-5018
  Module: golang.org/x/crypto
    Found in: golang.org/x/crypto@v0.50.0
    Fixed in: golang.org/x/crypto@v0.52.0
    Example traces found:
      #1: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.NewClientConn
      #2: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.ParseKnownHosts
      #3: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.ParsePrivateKey
      #4: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.ParsePrivateKeyWithPassphrase

Vulnerability #4: GO-2026-5017
    Invoking client can cause server deadlock on unexpected responses in
    golang.org/x/crypto/ssh
  More info: https://pkg.go.dev/vuln/GO-2026-5017
  Module: golang.org/x/crypto
    Found in: golang.org/x/crypto@v0.50.0
    Fixed in: golang.org/x/crypto@v0.52.0
    Example traces found:
      #1: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.NewClientConn
      #2: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.mux.SendRequest

Vulnerability #5: GO-2026-5013
    Invoking byte arithmetic causes underflow and panic in
    golang.org/x/crypto/ssh
  More info: https://pkg.go.dev/vuln/GO-2026-5013
  Module: golang.org/x/crypto
    Found in: golang.org/x/crypto@v0.50.0
    Fixed in: golang.org/x/crypto@v0.52.0
    Example traces found:
      #1: pkg/port/gvisortapvsock/gvisortapvsock.go:115:25: gvisortapvsock.driver.unexposePort calls http.ServeMux.ServeHTTP, which eventually calls ssh.NewClientConn

Your code is affected by 5 vulnerabilities from 1 module.
This scan also found 5 vulnerabilities in packages you import and 9
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.

…55.0

- updates golang.org/x/crypto to v0.52.0 to address CVE-2026-46595,
  CVE-2026-39834, CVE-2026-42508, CVE-2026-39832, CVE-2026-39831,
  CVE-2026-39830, CVE-2026-39833,
- updates golang.org/x/net to v0.55.0 to address CVE-2026-39821

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah

Copy link
Copy Markdown
Contributor Author

cc @AkihiroSuda

I noticed these show up in our images; kept the bumps to the lowest versions with the fix for now, but perhaps would be good to have a new release to keep the scanners at bay 😅

@AkihiroSuda

AkihiroSuda commented Jun 19, 2026

Copy link
Copy Markdown
Member

Your code is affected by 5 vulnerabilities from 1 module.

Does this actually affect RootlessKit or is it just a false positive?

@AkihiroSuda AkihiroSuda added this to the v3.0.2 milestone Jun 19, 2026

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this anyway, thanks

@AkihiroSuda AkihiroSuda merged commit 04529c7 into rootless-containers:master Jun 19, 2026
8 checks passed
@thaJeztah

Copy link
Copy Markdown
Contributor Author

Does this actually affect RootlessKit or is it just a false positive?

Good question for sure! GOVULNCHECK showed it up (which is usually better than most other scanners), but quite likely false positives. Those can still cause a lot of noise though 😞

Noticed the same situation with runc, which shows two CVEs with score 9.6, but it only uses the ebpf package from golang.org/x/net 😞

Screenshot 2026-06-19 at 14 50 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants