News for hackers. Stuff that matters.
Re:Adding a SHA1 collision vulnerability test hoses WebKit's... by acqq on Friday February 24, 2017 @03:04PM (#13727300)
> this is quite a serious vulnerability in Subversion

I rather believe it's a minor bug, and that once it is fixed, they can actually keep using SHA1 as before, without having the denial of service when somebody tries. Then, for example, if somebody actually tries to put two files with the same SHA1 but different MD5 they can reject the second one before accepting it. Or they if there are two different files with same SHA1 and they accepted both and they store only one content, SVN can still continue to work. So you can't get the second unless you, for example, put it in some archive format first and then put in the SVN, OK, your problem, the SVN would still work for anything else.

In short, it sounds like a denial of service at the moment, but I think that DOS can be avoided without changing the hash algorithm.

However, I'm sure that SVN is not the only source base that was never up to now tested with two different files that have the same SHA1.

Re:Adding a SHA1 collision vulnerability test hoses WebKit's... by stsp on Friday February 24, 2017 @04:35PM (#13728143)
Apache Subversion developer here.

Andreas Stieger (SUSE, SVN) has written a pre-commit hook script which rejects commits of shattered.io style PDFs

https://svn.apache.org/viewvc/subversion/trunk/tools/hook-sc...

This is the first mitigation available. If you are responsible for an SVN server at risk, please make use of this hook.

If somebody could make a similar hook for Windows and post it here or to [email protected] that would be highly appreciated.

(edit: switched script link to HTTPS)

Re:Adding a SHA1 collision vulnerability test hoses WebKit's... by stsp on Saturday February 25, 2017 @07:53AM (#13731354)
There have been follow-up fixes to the script and the link above is now stale. See https://svn.apache.org/viewvc/subversion/trunk/tools/hook-sc...