Re: BK2CVS problem

From: Theodore Ts'o (tytso_at_mit.edu)
Date: 11/06/03

  • Next message: Scott Robert Ladd: "Re: BK2CVS problem"
    Date:	Thu, 6 Nov 2003 08:22:13 -0500
    To: bert hubert <ahu@ds9a.nl>, Scott Robert Ladd <coyote@coyotegulch.com>, Larry McVoy <lm@bitmover.com>, linux-kernel@vger.kernel.org
    
    

    On Thu, Nov 06, 2003 at 11:06:07AM +0100, bert hubert wrote:
    > On Wed, Nov 05, 2003 at 11:09:24PM -0500, Scott Robert Ladd wrote:
    >
    > > In other words, the theoretical exploit was inserted by someone clever.
    > > Do we have any idea who?
    >
    > And, was there any route via which this malicious patch could've worked
    > itself into a kernel release?

    Not an official one, but maybe if some distribution was using the
    secondary CVS repository instead of the primary BK repository.

    (For people who think this is somehow a BK vs. CVS unfairness, it's
    probably true --- remote's CVS's security properties are only best
    described as terrifying. "CVS is not the answer. CVS is the
    question. 'NO' is the answer...." :-)

    To be fair, though, BK really needs to add per-changeset digital
    signatures, and I've been bugging Larry about this for years. :-) And
    there's a similar risk involving a subtle patch that claims to fix a
    bug, but really opens up a security hole. Someone clever enough to
    send a "patch" to Linus, who can forge sufficient mail headers that he
    doesn't notice --- and perhaps even forge a cc to the LKML, even
    though it never got sent there, might be able to sneak such a minor
    change into the master sources. This is especially true if the trojan
    horse gets burried in a number of other plausible changes, and had an
    SMTP from field that appeared to come from a trusted kernel developer.

    An argument might be made that all patches sent to Linus should be at
    a minimum be GPG signed, but that assumes that Linus would be willing
    to use GPG, or is willing to have his mail reader set upt to do
    automatic GPG verification. One of the reasons why I think
    integration with BK would be a Good Thing is that (a) it becomes
    automatic, and (b) instead of it being verified only by Linus when he
    receives the patch, I or anyone else can verify the digital signature
    on each changeset whenever we want. This distributed verfication is
    very powerful, and hopefully this points out why we badly need such a
    capability.

                                                    - Ted

    P.S. And once we have GPG signatures in BK, Larry could access
    control lists that would only allow certain trusted key holders from
    submitting changesets which modify the BK triggers script directory.
    Why this is important is left as an exercise to the reader.... (And
    before someone asks, CVS has the exact same vulnerability; in fact,
    it's arguable that it's even worse in CVS.)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Scott Robert Ladd: "Re: BK2CVS problem"

    Relevant Pages

    • Re: Nautilus Absturz
      ... verschwindet der Desktop und kommt nach einer Weile ... nicht unbedingt den CVS code, ... Die Quellen zum kompilieren bekommen und Dev-Header sind dank Gentoo ... Auch den Bug zu finden und einen Patch zu ...
      (de.comp.os.unix.apps.gnome)
    • Re: Genes pcHDTV 3000 analog problem
      ... had to apply the patch by hand for some reason ... after doing a cvs up -D today. ... Thank you Gene, ... Copyright 2005 by Maurice Eugene Heskett, ...
      (Linux-Kernel)
    • Re: how to handling read only cvs trees
      ... > I usually checkout out src from a local cvs mirror of the FreeBSD ... > these files are included in the generated patch. ... > repository, could delete them with the next scheduled run. ... Either pack the files up in a shar or tarball or use diff -N against ...
      (freebsd-hackers)
    • Re: DOM and SAX parsing in Ada
      ... > reasons. ... The issue is, after a patch is integrated, how long is it before it is ... it is necessary for _everyone_ to have read access to a CVS ... repository, if you want to encourage comtributions to that repository. ...
      (comp.lang.ada)
    • [PATCH]: new MIBs for BSNMP
      ... I'd like to expose here one patch for BSNMP containing some new MIBs ... Many thanks to Harti and Philip for their support and guidance! ... It is a unified diff against the "latest" CVS version of the BSNMP ... endpoint info about the process it belongs to. ...
      (freebsd-current)