Skip to content
Snippets Groups Projects
  1. Jan 09, 2020
  2. Jan 08, 2020
  3. Dec 21, 2019
  4. Dec 02, 2019
  5. Nov 26, 2019
  6. Nov 21, 2019
    • Nick Thomas's avatar
      Limit the negotiation phase for certain Gitaly RPCs · 3c6bc2db
      Nick Thomas authored and Patrick Bajao's avatar Patrick Bajao committed
      In most cases, Gitaly trusts that the caller of the RPC has validated
      that the user is permitted to perform the action represented by the RPC
      and doesn't repeat any access control checks. Where an RPC reads data
      from a client-controlled stream before acting, the time between the
      check and the operation can be artificially extended. This can lead to
      security issues where
      
      Solve this by placing a limit on the *negotiation phase* of two RPCs
      that are known to be vulnerable:
      
      * ssh.SSHUploadPack
      * ssh.SSHUploadArchive
      
      These RPCs are known not to be vulnerable, for one reason or another:
      
      * ssh.SSHReceivePack
      * smarthttp.ReceivePack
      
      The smarthttp.UploadPack RPC is vulnerable, but the vulnerability is
      being handled in Workhorse.
      3c6bc2db
  7. Nov 18, 2019
  8. Nov 14, 2019
  9. Nov 13, 2019
    • John Cai's avatar
      Add GetObjectPool RPC · 6a32f1cc
      John Cai authored
      Adds an RPC to get a repository's object pool. Also added a method under
      internal/git/objectpool to get an object pool of a repository.
      6a32f1cc
  10. Nov 08, 2019
  11. Nov 06, 2019
  12. Nov 04, 2019
  13. Nov 01, 2019
  14. Oct 28, 2019
  15. Oct 16, 2019
  16. Oct 10, 2019
  17. Oct 08, 2019
  18. Oct 04, 2019
  19. Oct 01, 2019
  20. Sep 26, 2019
  21. Sep 25, 2019
  22. Sep 19, 2019
  23. Sep 17, 2019
  24. Sep 13, 2019
  25. Sep 04, 2019
  26. Sep 03, 2019
  27. Aug 22, 2019
  28. Aug 20, 2019
  29. Aug 19, 2019
  30. Aug 14, 2019
  31. Aug 12, 2019
  32. Aug 06, 2019
  33. Aug 05, 2019
  34. Jul 31, 2019
  35. Jul 16, 2019
  36. Jul 12, 2019
    • Zeger-Jan van de Weg's avatar
      Allow explicit missing ref error in tests · 0dd44361
      Zeger-Jan van de Weg authored
      In git@014ade74
      the behaviour of upload-pack changed to be explicit about missing refs.
      In the Gitaly test the assertion was made against the output of the
      command being empty. This is no longer the case, so now an assertion is
      made against the output.
      
      This itself might break in the furture, but given the test is about hidden
      refs it's probably better to have this test break somewhere in the
      future than remove the assertion or weaken it.
      Verified
      0dd44361
  37. Jul 11, 2019
Loading