Hardware security tokens like YubiKeys have long been trusted for protecting sensitive accounts against phishing and credential theft. However, recent revelations about flaws in underlying cryptographic libraries have shaken confidence in these devices. A critical side-channel weakness in Infineon’s ECDSA implementation, tracked as CVE-2024-45678, allows attackers with physical access to extract private keys from affected YubiKeys. This issue, dubbed EUCLEAK, stems from non-constant-time operations in the library’s modular inversion process, enabling electromagnetic analysis attacks.
Understanding the Core Vulnerability
The problem originates in Infineon’s cryptographic library, embedded in YubiKey 5 Series devices (firmware before 5.7.0), Security Key Series (before 5.7.0), and YubiHSM 2 (before 2.4.0). ECDSA, or Elliptic Curve Digital Signature Algorithm, powers key signatures in protocols like FIDO2/WebAuthn. The flaw exposes a side-channel leak during the Extended Euclidean Algorithm used for modular inversions, where timing and electromagnetic emissions vary based on secret key bits.
Researchers estimate this defect persisted for over 14 years, evading numerous Common Criteria certifications (EAL4+ to EAL5+). Despite rigorous evaluations, the vulnerability slipped through because side-channel analysis requires specialized lab setups, not standard software tests. Yubico responded by migrating to its proprietary cryptographic library in newer firmware, eliminating the Infineon dependency entirely.
Devices and Firmware at Risk
- YubiKey 5 Series: All variants with firmware < 5.7.0.
- Security Key Series: NFC and non-NFC models pre-5.7.0.
- YubiHSM 2: Hardware security modules before firmware 2.4.0.
Firmware 5.7.0+ for YubiKeys and 2.4.0+ for YubiHSM incorporate Yubico’s hardened crypto stack, rendering the flaw irrelevant. Users can verify firmware via Yubico’s tools, but older stock remains available, posing risks if not updated—though many models lack upgradability for certain applications.
| Firmware Version | Status | Key Mitigation |
|---|---|---|
| < 5.7.0 (YubiKey 5/Security Key) | Vulnerable | Replace or avoid high-risk use |
| 5.7.0+ | Patched | Use freely |
| < 2.4.0 (YubiHSM 2) | Vulnerable | Firmware upgrade available |
Attack Mechanics and Requirements
Exploiting EUCLEAK demands sophisticated resources: physical possession of the device, target account knowledge (e.g., usernames, PINs), and equipment like oscilloscopes for electromagnetic tracing. Attackers capture traces from repeated ECDSA signing operations, then apply machine learning to reconstruct the private key—often in hours with consumer-grade hardware probes.
Impacted Scenarios:
- FIDO Credentials: Highest risk; attackers recover resident keys for account takeovers.
- PIV/OpenPGP ECC Keys: Affected if elliptic curve algorithms are selected.
- YubiHSM Signing/Attestation: ECC-based operations vulnerable.
Strict FIDO credential protection (userVerificationRequired) adds PIN/biometric hurdles, but stolen devices bypass this if UV is known. Attestation key recovery enables fake YubiKeys that pass model checks, undermining enterprise controls.
Real-World Implications for Users
For individuals, the moderate CVSS risk (pending NIST score) means everyday phishing resistance holds, but physical theft becomes deadlier. Enterprises relying on FIDO attestation for device authenticity face impersonation threats. Legacy deployments in air-gapped or high-security environments amplify concerns, as side-channels ignore network isolation.
Historical parallels, like the 2017 ROCA RSA flaw in older Infineon chips, highlight recurring issues in vendor libraries. Yubico’s shift to in-house crypto signals a broader industry trend toward self-reliance in secure elements.
Protective Measures and Best Practices
- Upgrade Immediately: Acquire YubiKey 5.7.0+ or later; discard or repurpose vulnerable units for low-stakes tasks.
- Enable Multi-Factor Layers: Pair hardware tokens with passkeys, TOTP apps, or biometrics.
- Monitor Attestation: Supplement FIDO with YubiOTP, RSA PIV, or OpenPGP checks.
- Physical Safeguards: Treat YubiKeys as high-value; use backups and rotate credentials post-theft.
- Firmware Checks: Run Yubico’s validator tool regularly.
Organizations should audit inventories via Yubico’s advisory and consider hybrid auth strategies. For unpatchable devices, migrate to software authenticators as interim bridges—though hardware remains superior against remote attacks.
Industry Response and Future Outlook
Yubico’s YSA-2024-03 advisory details full scope, emphasizing low remote exploitability. NIST’s NVD entry confirms the side-channel nature, while researchers note widespread Infineon chip exposure beyond Yubico. This pushes hardware vendors toward constant-time crypto and formal verification.
Long-term, expect quantum-resistant algorithms and diversified supply chains. Users benefit from transparent disclosures, enabling proactive defense over reactive panic.
Frequently Asked Questions
Can I update my old YubiKey firmware?
Some models support OTA updates via YubiKey Manager; check Yubico’s site. Pre-5.7.0 units often require replacement for full mitigation.
Is my FIDO2 login safe?
Remote attacks are infeasible; physical theft + lab access is needed. Use PIN protection and backups.
What about non-YubiKey devices?
Any product using vulnerable Infineon libraries (e.g., certain TPMs) shares risks; verify vendor advisories.
How effective are side-channel mitigations?
Yubico’s new library uses masked implementations and constant-time ops, passing advanced leakage tests.
Should I stop using YubiKeys?
No—updated models outperform passwords or SMS vastly. Assess your threat model.
References
- Security Advisory YSA-2024-03 — Yubico. 2024-09-17. https://www.yubico.com/support/security-advisories/ysa-2024-03/
- NVD – CVE-2024-45678 — NIST National Vulnerability Database. 2024-09-24. https://nvd.nist.gov/vuln/detail/CVE-2024-45678
- YubiKey – Infineon ECDSA Private Key Recovery — GE Vernova Cyber Security. 2024-10-28. https://www.gevernova.com/content/dam/cyber_security/global/en_US/pdfs/2024-10-28-yubikey.pdf

