VDB
Sign up
CRITICAL9.1

GHSA-89gr-r52h-f8rx

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

Quick fix

GHSA-89gr-r52h-f8rx — golang.org/x/crypto: upgrade to the fixed version with the command below.

go get golang.org/x/crypto@v0.52.0

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
Introduced in: 0Fixed in: 0.52.0
Fixgo get golang.org/x/crypto@v0.52.0

References