CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 15be5c04a6
git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks.
The attacker could just send a very lot of data, with no \n and it would
all be buffered in memory until the kernel killed git-annex or perhaps OOM
killed some other more valuable process.

This is a low impact security hole, only affecting communication between
local git-annex and git-annex-shell on the remote system. (With either
able to be the attacker). Only those with the right ssh key can do it. And,
there are probably lots of ways to construct git repositories that make git
use a lot of memory in various ways, which would have similar impact as
this attack.

The fix in P2P/IO.hs would have been higher impact, if it had made it to a
released version, since it would have allowed DOSing the tor hidden
service without needing to authenticate.

(The LockContent and NotifyChanges instances may not be really
exploitable; since the line is read and ignored, it probably gets read
lazily and does not end up staying buffered in memory.)
2016-12-09 13:34:32 -04:00
Annex update progress logs in remotedaemon send/receive 2016-12-08 19:56:02 -04:00
Assistant
Backend
Build
CmdLine convert P2P runners from Maybe to Either String 2016-12-08 15:47:49 -04:00
Command git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
Config
Database
debian
doc content removal is supposed to succed if the content was already not present 2016-12-09 12:48:22 -04:00
Git
Limit
Logs
Messages
P2P git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
Remote git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
RemoteDaemon git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
standalone
static
templates
Types
Upgrade
Utility git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
.ghci
.gitattributes
.gitignore
.mailmap
Annex.hs
Assistant.hs
Backend.hs
bash-completion.bash
build.bat
BuildFlags.hs
CHANGELOG git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
CmdLine.hs
Command.hs
Common.hs
Config.hs
COPYRIGHT
Creds.hs
Crypto.hs
ghci
git-annex.cabal move byteable to main dep list 2016-12-08 16:31:08 -04:00
git-annex.hs
git-union-merge.hs
Git.hs
Jenkinsfile
Limit.hs
Logs.hs
Makefile
Messages.hs
NEWS
README
Remote.hs
Setup.hs
stack.yaml
Test.hs
Types.hs
Upgrade.hs

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <https://git-annex.branchable.com/>