VDB
KO
CRITICAL 9.1

GHSA-89gr-r52h-f8rx

golang.org/x/crypto/ssh: FIDO/U2F security key physical presence check can be bypassed

Details

The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com) did not check the User Presence flag. Signatures generated without physical touch were accepted, allowing unattended use of a hardware security key. To restore the previous behavior, return a "no-touch-required" extension in Permissions.Extensions from PublicKeyCallback.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / golang.org/x/crypto/ssh
Introduced in: 0 Fixed in: 0.52.0
Fix go get golang.org/x/crypto/ssh@v0.52.0

References