GitHub Advisory Database
GHSA-89gr-r52h-f8rx
golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
Details
The Verify() method for FIDO/U2F security key types ([email protected], [email protected]) 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/crypto | All versions before 0.52.0 (fixed in 0.52.0) |