[Bug 379851] [NEW] Remove obsolete conffile /etc/bash_command_not_found (which leads to DOS if used)

Daniel Hahler launchpad at thequod.de
Sat May 23 22:25:28 UTC 2009


Public bug reported:

Binary package hint: command-not-found

Please purge/remove the obsolete conffile /etc/bash_command_not_found.

I wanted to test command-not-found (and had the file there from a
previous installation), sourced it and it resulted in a Denial Of
Service, since the file's code looks as follows:

command_not_found_handle() {
  command-not-found -- "$1" || return 127
}

Since "command-not-found" itself isn't found, this (apparently) spawns a
lot of bash instances, until the computer locks up.

Using 0.2.34ubuntu3 on Karmic.

** Affects: command-not-found (Ubuntu)
     Importance: Medium
         Status: Triaged

** Changed in: command-not-found (Ubuntu)
   Importance: Undecided => Medium

** Changed in: command-not-found (Ubuntu)
       Status: New => Triaged

-- 
Remove obsolete conffile /etc/bash_command_not_found (which leads to DOS if used)
https://bugs.launchpad.net/bugs/379851
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list