Debian Security Advisory

DSA-2215-1 gitolite -- directory traversal

Date Reported:
09 Apr 2011
Affected Packages:
gitolite
Vulnerable:
Yes
Security database references:
No other external database security references currently available.
More information:

Dylan Simon discovered that gitolite, a SSH-based gatekeeper for Git repositories, is prone to directory traversal attacks when restricting admin defined commands (ADC). This allows an attacker to execute arbitrary commands with privileges of the gitolite server via crafted command names.

Please note that this only affects installations that have ADC enabled (not the Debian default).

The oldstable distribution (lenny) is not affected by this problem, it does not include gitolite.

For the stable distribution (squeeze), this problem has been fixed in version 1.5.4-2+squeeze1.

For the testing distribution (wheezy), this problem has been fixed in version 1.5.7-2.

For the unstable distribution (sid), this problem has been fixed in version 1.5.7-2.

We recommend that you upgrade your gitolite packages.