The CVS pserver bug - a timeline
[Posted June 2, 2004 by corbet]
Quick response to security incidents is considered one of the strong points
of the free software community. It is also seen as a vital component of a
site's defenses against attacks. With that in mind, it is worth taking a
look at how
the recent CVS
vulnerability played out:
| May 2 |
Stefan Esser discovers a vulnerability in CVS, up to versions
1.11.15 and 1.12.7. A buffer overflow in the "entry" line parsing code
would allow an attacker to execute arbitrary code on the system when
the "pserver" access technique is being used. Mr. Esser informs the
CVS developers, and is told almost immediately that a fix has been
prepared.
|
| May 3 |
Various high-profile CVS sites are informed of the
problem and its fix. |
| May 12 |
A new patch is prepared after SourceForge discovers a problem with
the previous versions.
|
| May 19 |
The "coordinated public disclosure" happens, just in time to screw
up the LWN publication deadline. Updates are released by Debian,
Fedora, Mandrake, Red Hat, Slackware, and SUSE.
|
| May 20 |
Gentoo releases its updated cvs package. |
| May 27 |
CERT gets around to sending out an
advisory on the vulnerability. |
A few quick conclusions can be drawn from this sequence of events:
- The coordinated disclosure mechanism had some glitches in its early
days, but it seems to be working well now. The problem was kept quiet
for a couple of weeks, after which most major distributors were able
to issue patches almost simultaneously.
- One may well wonder, again, what the relevance of CERT is; it took
just over a week to get an advisory out after the public disclosure.
By then, anybody who was paying attention had already closed the
hole.
- Some distributions do not yet have updates out. These include
Conectiva, Whitebox, and Trustix. (Update: Trustix lacks an update because it does not ship CVS, our mistake). Red Hat Linux users are also
exposed; the Fedora Legacy project has not yet issued a cvs update.
The last item is somewhat troubling. Given the nature of this
vulnerability and the availability of information, no serious distributor
should have failed to have an update ready on the disclosure day. One can
thus conclude that some distributors are more serious than others. In
particular, it is worth noting that the projects which rework Red Hat
distributions and updates (Whitebox, CentOS, Fedora Legacy) have failed to
react to this vulnerability in a timely way. It may well be that, if you
lack the structure necessary to create a distribution in the first place,
you will be hard pressed to keep that distribution secure.
(
Log in to post comments)