CGit Maintainer Disappears, Security Hole Found

Posted by Michael Larabel on November 15, 2012

The maintainer behind the open-source CGit project, the popular web front-end to viewing Git repositories, disappeared some months ago. Since then a new maintainer has taken over work on this widely-used software while also discovering a nasty security hole that allows arbitrary command execution. A new CGit release has now occurred under the new leadership to address this problem.

Jason Donenfeld, the developer that has taken over the role as the CGit maintainer at least until the original maintainer re-appears, wrote into Phoronix with these details. "Cgit is a wonderful project, and it's one of the nicest web applications written in C I've ever read. Unfortunately, a while ago, the previous maintainer, Lars Hjemil, disappeared, and nobody I've talked to has heard from him or knows anything about it. Months went by, and as I'd been spirited about cgit for quite some time, I decided to take over stewardship with the community's approval. Folks liked the idea, and for the last few months, I've been managing patches in my own repository. It's not a fork, though. If Lars does return from wherever he is, he'll take over where I've left off."

While picking up the slack on CGit development, Donenfeld discovered a nasty security problem with the code. "I found a pretty serious security bug -- command injection. You can check out the commit here, CVE-2012-4548. Simple error, but not a nice error. In fact, a pretty grave hole."

Due to this major security problem plus other work that's come about since the disappearance of Lars Hjemil, a new release has been issued. Jason announced the CGit 0.9.1 release on the project's mailing list.

Aside from addressing two security vulnerabilities (there was also a heap-buffer overflow aside from the command injection issue), there's other bug-fixes plus a few enhancements. The new stuff out of this release is path-selected sub-module links, intelligent default branch guessing, improved MIME types lookup, case insensitive sorting, other sorting improvements, and Makefile BSD support.

"This is a very highly deployed project, often built by hand with no automatic update mechanism in place, and this version is really one that everyone should upgrade to, due to the rather horrible security hole," Jason Donenfeld added.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. New Intel X.Org Driver Supports All Of Haswell
  2. SQLite Now Faster With Memory Mapped I/O
  3. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  4. Qt For Tizen Launches, Based On Qt 5.1
  5. KTAP Released For Linux Kernel Dynamic Tracing
  6. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  7. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  8. Handbrake 0.9.9 Supports OpenCL Offloading
  9. Freedreno Gallium3D Now Banging The Adreno A3XX
  10. Jolla Announces Their First Phone
  11. Mageia 3 Released, Still Using Legacy GRUB
Latest Forum Talk
  1. Qt For Tizen Launches, Based On Qt 5.1
  2. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  3. Microsoft Releases Skype For Linux 4.2, Has...
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  5. Modern Intel Gallium3D Driver Still Being Toyed...
  6. Linux's "Ondemand" Governor Is No...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite