Advisory

GO-2021-0227

Also known as: CVE-2020-29652, GHSA-3vm4-22fp-5rfm

Summary

Panic on crafted authentication request message in golang.org/x/crypto/ssh

Details

Clients can cause a panic in SSH servers. An attacker can craft an authentication request message for the “gssapi-with-mic” method which will cause NewServerConn to panic via a nil pointer dereference if ServerConfig.GSSAPIWithMICConfig is nil.

Severity

Not rated by the source.

Dates

Published
2022-02-17 17:35 UTC
Modified
2026-02-04 03:17 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20201216223049-8b5274cf687f (semver)

Fixed versions

0.0.0-20201216223049-8b5274cf687f

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences