Advisory

GHSA-3vm4-22fp-5rfm

Also known as: CVE-2020-29652, GO-2021-0227

Summary

golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability

Details

A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against 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

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 22:01 UTC
Modified
2026-09-10 03:49 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences