Advisory

GHSA-gwc9-m7rh-j2ww

Also known as: CVE-2021-43565, GO-2022-0968

Summary

x/crypto/ssh vulnerable to panic via malformed packets

Details

The x/crypto/ssh package before 0.0.0-20211202192323-5770296d904e of golang.org/x/crypto allows an unauthenticated attacker to panic an SSH server. When using AES-GCM or ChaCha20Poly1305, consuming a malformed packet which contains an empty plaintext causes a panic.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-09-07 00: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-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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences