GO-2021-0227

Source
https://pkg.go.dev/vuln/GO-2021-0227
Import Source
https://vuln.go.dev/ID/GO-2021-0227.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0227
Aliases
Published
2022-02-17T17:35:32Z
Modified
2024-05-20T16:03:47Z
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0227"
}
References
Credits
    • Joern Schneewesiz (GitLab Security Research Team)

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20201216223049-8b5274cf687f

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/crypto/ssh",
            "symbols": [
                "NewServerConn",
                "connection.serverAuthenticate"
            ]
        }
    ]
}