Record · 2014

Heartbleed (CVE-2014-0160)

A missing bounds check in OpenSSL's TLS heartbeat code let a connected peer read the other side's process memory, which could include private keys and credentialsOpenSSL 2014. It shipped in OpenSSL 1.0.1 in March 2012 and was found independently by Google's Neel Mehta and by Codenomicon in 2014heartbleed.com 2014Sydney Morning Herald (F… 2014. The duplicate find cut OpenSSL's embargo short, and the advisory and fix came out on 7 April 2014Sydney Morning Herald (F… 2014OpenSSL 2014.

  1. IntroducedHeartbeat extension support, containing the missing bounds check, is committed to OpenSSL (commit 4817504, submitted by Robin Seggelmann; dated 2011-12-31 in repository metadata). OpenSSL repository on Gi… 2011heartbleed.com 2014
  2. IntroducedOpenSSL 1.0.1, the first release carrying the flaw, ships. heartbleed.com 2014
  3. EventAlleged: logs from November 2013 may show Heartbleed-style traffic before disclosure (reported April 2014 by Ars Technica and EFF; not confirmed, and one of two reports was a likely false positive). Electronic Frontier Foun… 2014 Disputed or alleged.
  4. DiscoveredNeel Mehta of Google Security discovers the flaw (on or before 21 March); Google patches its own services from that day. Sydney Morning Herald (F… 2014OpenSSL 2014
  5. ReportedCloudFlare is privately told (by an undisclosed party, under a non-disclosure agreement) and patches, on or before 31 March. Sydney Morning Herald (F… 2014Cloudflare blog 2014
  6. ReportedGoogle notifies OpenSSL team members; Google says it has also notified some infrastructure providers under embargo. Sydney Morning Herald (F… 2014
  7. EmbargoOpenSSL plans to release the fix on 9 April to allow coordination. Sydney Morning Herald (F… 2014
  8. RediscoveredCodenomicon independently discovers the same bug (about 23:30 PDT 2 April, 09:30 EEST 3 April). Sydney Morning Herald (F… 2014heartbleed.com 2014
  9. ReportedCodenomicon reports the bug to the National Cyber Security Centre Finland (NCSC-FI). Sydney Morning Herald (F… 2014heartbleed.com 2014
  10. MitigatedAkamai patches its servers after a tip from an individual in the OpenSSL community (Akamai first attributed the tip to OpenSSL, which OpenSSL denied). Sydney Morning Herald (F… 2014 Disputed or alleged.
  11. ReportedOpenSSL's Mark Cox notifies Red Hat, which offers details under embargo to a private distributions list; SuSE, Debian, FreeBSD and AltLinux receive them hours before release, while Ubuntu, Gentoo and Chromium ask but get no answer in time. Sydney Morning Herald (F… 2014
  12. ReportedNCSC-FI forwards Codenomicon's report to OpenSSL core team members; the duplicate finding leads OpenSSL to release the same day instead of 9 April. Sydney Morning Herald (F… 2014
  13. DisclosedOpenSSL publishes the advisory for CVE-2014-0160 and the fixed release 1.0.1g. OpenSSL 2014Sydney Morning Herald (F… 2014
  14. PatchedFixed OpenSSL 1.0.1g is available at disclosure. OpenSSL 2014heartbleed.com 2014
  15. DisclosedCodenomicon publicises heartbleed.com; CloudFlare announces it had already fixed the flaw the previous week. Cloudflare blog 2014heartbleed.com 2014
  16. ExploitedFirst observed exploitation attempt, 21 hours 29 minutes after disclosure, at LBNL. ACM Internet Measurement… 2014
  17. EventNetcraft measures about 17 percent of trusted SSL web servers (about half a million sites) as vulnerable. Netcraft 2014
  18. EventAlleged: Bloomberg reports, citing two unnamed people, that the NSA knew of the flaw for at least two years and used it. Bloomberg News 2014 Disputed or alleged.
  19. EventODNI and NSA deny any prior US government knowledge of Heartbleed before April 2014. IC on the Record (ODNI) 2014
  20. ExploitedThe Canada Revenue Agency announces that about 900 social insurance numbers were taken by someone exploiting Heartbleed. Sydney Morning Herald (F… 2014
  21. EventThe White House cybersecurity coordinator describes the US vulnerability disclosure decision process in response to Heartbleed. White House blog 2014
  22. ExploitedAlleged: TrustedSec reports, citing an anonymous source, that the Community Health Systems breach of about 4.5 million patient records began with Heartbleed on a VPN device. TrustedSec 2014 Disputed or alleged.

What it did

An estimated 24 to 55 percent of popular HTTPS sites were initially vulnerable, and the first observed exploitation attempt came less than a day after disclosureACM Internet Measurement… 2014. The Canada Revenue Agency announced a week later that about 900 social insurance numbers had been takenSydney Morning Herald (F… 2014. Only 10 percent of sites still vulnerable at 48 hours replaced their certificates within a monthACM Internet Measurement… 2014.

What it teaches

The private phase ran through several channels at once and nobody held a complete list, so some large providers patched early while others learned at releaseSydney Morning Herald (F… 2014. Patching the code did not undo leaked keys, and certificate replacement lagged far behindACM Internet Measurement… 2014. Bloomberg's report that NSA knew of the flaw for two years was denied by ODNI, and the White House used the episode to describe its disclosure policyBloomberg News 2014IC on the Record (ODNI) 2014White House blog 2014.