Record · 2023

Terrapin (CVE-2023-48795)

Terrapin is a flaw in the SSH transport protocol that lets an on-path attacker silently remove early messages and weaken some connection security when certain widely used encryption modes are in useRuhr University Bochum (… 2024USENIX Security 2024 (ar… 2024. Researchers at Ruhr University Bochum notified 33 SSH vendors in October and November 2023 and disclosed on 18 December 2023, the day OpenSSH 9.6 shipped a countermeasureUSENIX Security 2024 (ar… 2024OpenBSD / OpenSSH 2023.

  1. IntroducedEncrypt-then-MAC modes are added to SSH by OpenSSH (2012); ChaCha20-Poly1305 follows in 2013. USENIX Security 2024 (ar… 2024
  2. DiscoveredBaumer, Brinkmann and Schwenk discover the flaw and begin private disclosure to SSH developers. Register 2023
  3. ReportedNotifications reach 33 SSH vendors across October and November 2023. USENIX Security 2024 (ar… 2024
  4. DisclosedPublic disclosure of Terrapin. USENIX Security 2024 (ar… 2024
  5. PatchedOpenSSH 9.6 ships the strict key exchange countermeasure. OpenBSD / OpenSSH 2023
  6. EventShadowserver data shows nearly 11 million vulnerable SSH servers. BleepingComputer 2024
  7. MitigatedIPv4 scan finds more than 3.4 million servers with the countermeasure. USENIX Security 2024 (ar… 2024
  8. Mitigated28 of 33 notified vendors have published patches. USENIX Security 2024 (ar… 2024

What it did

Sixteen days after disclosure Shadowserver counted nearly 11 million vulnerable SSH serversBleepingComputer 2024. Practical impact was limited: OpenSSH called it very limited, and the CVE is scored CVSS 5.9OpenBSD / OpenSSH 2023USENIX Security 2024 (ar… 2024.

What it teaches

A countermeasure that works only when both client and server support it spreads slowly, which makes patching notoriously difficultRuhr University Bochum (… 2024terrapin-attack.com 2024. By February 2024, 28 of the 33 notified vendors had published patchesUSENIX Security 2024 (ar… 2024.