SHAttered PDFs corrupt the WebKit Subversion repository
A day after SHAttered, a WebKit developer committed the two colliding PDFs as a test case for cache-poisoning checks, and WebKit's Subversion repository stopped accepting further operations. Apache Subversion de-duplicated stored file content by SHA-1, so only one PDF was stored and later checksum verification failed.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
This was the first real-world system broken by a SHA-1 collision, and the cause was a design assumption rather than an attacker: SVN's 'representation sharing' treated equal SHA-1 as equal content. Commits succeeded, but subsequent updates aborted because the files' MD5 checksums differed. Apache fixed it in Subversion 1.9.6 and 1.8.18 by rejecting commits that create a SHA-1 collision. Git, which also names objects by SHA-1, was not broken by the PDFs because its object hash covers a type/length header, but the incident accelerated Git's adoption of collision detection.
Sources
- announcementApache Subversion is unable to store SHA1 collisionsApache Subversion, subversion.apache.org
- newsWatershed SHA1 collision just broke the WebKit repository, others may followArs Technica (Dan Goodin), arstechnica.com