HIGH 7.5 Go

x/crypto/ssh vulnerable to panic via malformed packets

GHSA-gwc9-m7rh-j2ww · CVE-2021-43565 · GO-2022-0968

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes