gitolite -- path traversal vulnerability

2012-10-09T00:00:00
ID F94BEFCD-1289-11E2-A25E-525400272390
Type freebsd
Reporter FreeBSD
Modified 2012-10-09T00:00:00

Description

Sitaram Chamarty reports:

I'm sorry to say there is a potential path traversal vulnerability in v3. Thanks to Stephane Chazelas for finding it and alerting me. Can it affect you? This can only affect you if you are using wild card repos, and at least one of your patterns allows the string "../" to match multiple times. How badly can it affect you? A malicious user who also has the ability to create arbitrary files in, say, /tmp (e.g., he has his own userid on the same box), can compromise the entire "git" user. Otherwise the worst he can do is create arbitrary repos in /tmp.