Advisory

GO-2022-0968

Also known as: CVE-2021-43565, GHSA-gwc9-m7rh-j2ww

Summary

Panic on malformed packets in golang.org/x/crypto/ssh

Details

Unauthenticated clients can cause a panic in SSH servers.

When using AES-GCM or ChaCha20Poly1305, consuming a malformed packet which contains an empty plaintext causes a panic.

Severity

Not rated by the source.

Dates

Published
2022-09-13 03:32 UTC
Modified
2026-02-04 04:04 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20211202192323-5770296d904e (semver)

Fixed versions

0.0.0-20211202192323-5770296d904e

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