64,65d63
< <li><a href="#shatterd-sha1">How do I protect my repository from the SHA-1
<     Shattered vulnerability?</a></li>
748,772d745
< <div class="h3" id="shatterd-sha1">
< <h3>How do I protect my repository from the SHA-1 Shattered vulnerability?
<   <a class="sectionlink" href="#shatterd-sha1"
<     title="Link to this section">&para;</a>
< </h3>
< 
< <p>Subversion's use of SHA-1 in how it processes content is subject to hashing collisions as identified by <a href="https://shattered.io/">Google</a>). One of it's key assumptions in processing content is that SHA-1 is unique for all objects.</p>
< Subversion has two main areas of vulnerability.
< <br/>
< <ul>
< <li>The FS layer (repository) uses SHA-1.</li>
< <li>The Working Copy/RA layers use SHA-1.</li>
< </ul>
< <p>
< The FS layer uses SHA-1 when identifying objects to store in the repository. To prevent non duplicate content from being stored that has identical SHA-1, upgrade to 1.9.6 (where would prevent storage of duplicates) or install the pre-commit hook found <a href="https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/reject-known-sha1-collisions.sh">here<a>. As an aside, we welcome Windows developers to submit a pre-commit script for the Windows platform to the <a href="mailto:dev@subversion.apache.org">Developer List<a>.
< </p>
< <p>
< The working copy/RA layer uses SHA-1 for de-duplication of content stored in the working copy, and for performance reasons
< clients using the HTTP protocol will avoid fetching content with a SHA-1 checksum which has been fetched previously. There is no known workaround for this vector except to prevent storage of the colliding objects in the first place, via upgrade to 1.9.6 or installation of the aforementioned pre-commit script.
< </p>
< <p>
< Storing content with SHA1 collisions it not a supported use case. If you have repositories with colliding SHA-1 content we suggest you remove the content from you repository and upgrade to 1.9.6 to prevent future insertion.</p>
< 
< </div>
< 
