Skip to navigation

Security Advisory Insecure setserial initscript

Advisory: RHSA-2001:110-05
Type: Security Advisory
Severity: N/A
Issued on: 2001-09-12
Last updated on: 2001-09-19
Affected Products:
CVEs (cve.mitre.org): CVE-2001-1383

Details

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:

/bin/ls /etc/rc.d/init.d/serial

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).


Solution

Do not use the initscript supplied with setserial. To disable it, use
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.

Updated packages


References


Keywords

file, initscript, setserial, temporary


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/