Insecure setserial initscript
|Last updated on:||2001-09-19|
The initscript distributed with the setserial package (which is not
installed or enabled by default) uses predictable temporary file names, and
should not be used. setserial-2.17-4 and earlier versions are affected.
If you have not recompiled your kernel, this issue does not affect you. To
check if you are affected by this issue, use the following command:
If this gives the output '/etc/rc.d/init.d/serial' then the initscript
has been manually installed. In this case use the following command:
/sbin/modprobe -l | grep '/serial\.o'
If this command gives output, you are affected by this issue.
The setserial package comes with an initscript in the documentation
directory. If this initscript is manually copied into the init.d
directory structure and enabled, and the kernel is recompiled to have
modular serial port support, then the initscript will use a predictable
temporary file name.
There are a number of other bugs that also prevent the initscript from
working correctly in this situation (detailed in bugzilla bug #52862).
the following command:
/sbin/chkconfig serial off
Alternatively, if your system needs manual adjustment of its serial
port settings and you wish to have those adjustments re-applied
automatically on boot, be sure to use a kernel that has non-modular
serial port support, such as those supplied by Red Hat, Inc.
Bugzilla bug #52862, at:
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from: