Record · 2017

ROCA (CVE-2017-15361)

Infineon's RSA key generation library produced keys whose private half could be computed from the public key at feasible cost, and it sat in smartcards, tokens and TPMs, including certified devices, since at least 2012CRoCS, Masaryk University 2017. Researchers told Infineon on 1 February 2017 under an eight-month embargo and published on 16 October 2017CRoCS, Masaryk University 2017.

  1. IntroducedInfineon's RSA key generation library is present in certified devices since at least 2012. CRoCS, Masaryk University 2017
  2. IntroducedEstonia begins issuing ID cards on the affected chip platform. ERR (Estonian Public Bro… 2017
  3. DiscoveredResearchers from Masaryk University, Enigma Bridge and Ca' Foscari find the flaw (end of January 2017). CRoCS, Masaryk University 2017
  4. ReportedResearchers disclose the flaw to Infineon. CRoCS, Masaryk University 2017
  5. EmbargoAn eight-month embargo before public disclosure is agreed; Infineon informs its customers during the period. CRoCS, Masaryk University 2017ERR (Estonian Public Bro… 2017
  6. EventAlleged: Gemalto's Estonian representative says he informed PPA and RIA; the government says this was not notification and RIA describes only vague hints in a phone call. ERR (Estonian Public Bro… 2017ERR (Estonian Public Bro… 2017ERR (Estonian Public Bro… 2017 Disputed or alleged.
  7. ReportedEstonia's Information System Authority (RIA) is informed by the researchers, by its own account its first notice. ERR (Estonian Public Bro… 2017
  8. AnnouncedEstonia's Prime Minister announces a security risk in about 750,000 ID cards, without technical details, and recommends Mobile-ID. ERR (Estonian Public Bro… 2017ERR (Estonian Public Bro… 2017
  9. PatchedMicrosoft publishes advisory ADV170012 with Windows updates to work around affected TPMs. Microsoft 2017
  10. DisclosedResearchers publish the disclosure and a detection tool; Yubico and other vendors publish advisories. CRoCS, Masaryk University 2017Yubico 2017
  11. DisclosedThe full paper is made public. CRoCS, Masaryk University 2017
  12. MitigatedAfter a Cabinet decision on the night of 2 November, Estonia suspends the certificates of nearly 760,000 affected ID cards from midnight on Friday 3 November. ERR (Estonian Public Bro… 2017
  13. MitigatedMore than 272,000 people have renewed their ID card certificates. ERR (Estonian Public Bro… 2017
  14. MitigatedThe affected Estonian card platform switches from RSA to elliptic-curve keys (end of 2017). 29th USENIX Security Sym… 2020
  15. EventRIA puts its cost at EUR 1,115,616; PPA demands EUR 20 million from Gemalto. ERR (Estonian Public Bro… 2018
  16. RetiredUnrenewed certificates of nearly 300,000 Estonian ID cards are declared void. ERR (Estonian Public Bro… 2018

What it did

About 760,000 vulnerable keys were confirmed at disclosure, with possibly two to three orders of magnitude moreCRoCS, Masaryk University 2017. Estonia suspended the certificates of nearly 760,000 ID cards and later voided those of nearly 300,000 cards that were not renewedERR (Estonian Public Bro… 2017ERR (Estonian Public Bro… 2018. Its Information System Authority put its own cost at EUR 1,115,616, and the Police and Border Guard Board demanded EUR 20 million from GemaltoERR (Estonian Public Bro… 2018.

What it teaches

Notice travelled down the supply chain slowly: Estonia's Information System Authority says it first learned from the researchers about seven months after Infineon was told, and who should have warned it is disputedERR (Estonian Public Bro… 2017ERR (Estonian Public Bro… 2017ERR (Estonian Public Bro… 2017. A flaw in key generation cannot be patched in place: every affected key had to be replaced, and Estonia moved its cards from RSA to elliptic-curve keysERR (Estonian Public Bro… 201729th USENIX Security Sym… 2020. FIPS 140-2 and Common Criteria certification did not catch itCRoCS, Masaryk University 2017.