GitHub Advisoryadvisory · Go

GHSA-3vm4-22fp-5rfm golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability

HIGH Published 2022-05-24 Modified 2023-07-12 Official page ↗
Aliases
CVE-2020-29652
Ecosystem
Go
Packages
golang.org/x/crypto
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476
Reviewed
2023-02-08

Affected packages

• Go golang.org/x/crypto: < 0.0.0-20201216223049-8b5274cf687f → fixed in 0.0.0-20201216223049-8b5274cf687f

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-29652 A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote… vulnerability

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References