My minimal, memory-safe Go rsync steers clear of vulnerabilities

(michael.stapelberg.ch)

7 points | by Brajeshwar 6 hours ago ago

3 comments

  • 3eb7988a1663 4 hours ago ago

    Is there a solid reference resource on handling symlinks? It seems a never ending source of security bugs.

    • euroderf 3 hours ago ago

      The new os.Root is supposed to handle symlinks correctly in a sandbox, but (of course?) the first release had a bug related to symlinks.

    • d0vs 3 hours ago ago

      Agreed. Not a direct answer but this should be interesting: https://github.com/cyphar/filepath-securejoin