Collision detection goes mainstream: GitHub and Git 2.13 adopt sha1collisiondetection
Marc Stevens (CWI) and Dan Shumow (Microsoft Research) released sha1collisiondetection, a drop-in SHA-1 that flags inputs bearing the fingerprints of known cryptanalytic collision attacks. GitHub deployed it on March 20, 2017, and Git 2.13.0 (May 9, 2017) made it the default SHA-1 implementation.
Background
The library applies counter-cryptanalysis: it checks whether any compression-function call matches the disturbance vectors used by practical attacks, so it can reject one half of a colliding pair without ever seeing the other half. Their USENIX Security 2017 paper sped up detection more than 20-fold using 'unavoidable attack conditions', leaving it about 1.6 times slower than plain SHA-1, and reported deployment in Git, GitHub, Gmail, Google Drive and Microsoft OneDrive. This is a mitigation, not a fix: it does not protect against unpublished attack families, and it does not change the fact that SHA-1 output length gives only 80-bit generic collision security.
Sources
- codesha1collisiondetectionGitHub, github.com
- blogSHA-1 collision detection on GitHub.comGitHub Blog, github.blog
- standardGit 2.13.0 release notesGit project, github.com
- paperSpeeding up detection of SHA-1 collision attacks using unavoidable attack conditions (USENIX Security 2017)USENIX, usenix.org