A small matter of Unix security

2008-10-06

I have discovered a small problem in a well deployed Unix utility. It is (just) possible that this problem has some security related issues.

This code, by the way, is probably in every single deployed Unix system.

What should I do now?

7 Responses to “A small matter of Unix security”

  1. Tony Finch Says:

    Email the author about it. Maybe discuss it quietly with trusted knowledgable friends first to make sure it really is a problem.

  2. drj11 Says:

    The authors have bang paths for their e-mail addresses. Well, not all of them, but most of them. And it’s an amusing thing to mention.

  3. mathew Says:

    Get people you know to verify the problem on other systems. Then BugTraq.

  4. Nick Barnes Says:

    I’m curious: is it the same code on a GNU/Linux system?
    Also, assuming this is the thing which you mentioned earlier: do you have test data which causes that path to be executed? Do you have test data which can cause a failure on a real system?

  5. drj11 Says:

    Some more background. The problem involves a certain code path which when executed results in undefined behaviour. Now it so happens that this undefined behaviour is in practice always harmless, but that’s only by luck. If the memory layouts should shift, then it could be worse.

    @NickB: I have yet to look at the code on GNU/Linux.

    The naughty code path is invoked on practically every invocation of the utility.

    I cannot yet cause it to fail on a real system.

  6. Zeth Says:

    If you can’t find who to tell, then just blog it. ‘Better out than in’ as my granddad used to say.


Leave a comment