Security Advisory tetex security update

Advisory: RHSA-2002:195-10
Type: Security Advisory
Severity: Important
Issued on: 2002-09-06
Last updated on: 2003-08-25
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
OVAL: N/A
CVEs (cve.mitre.org): CVE-2002-0836

Details

Updated packages for dvips are available which fix a vulnerability allowing
print users to execute arbitrary commands.

[Updated 13 Aug 2003]
Added tetex-doc package that was originally left out of the errata.

The dvips utility converts DVI format into PostScript(TM), and is used in
Red Hat Linux as a print filter for printing DVI files. A vulnerability
has been found in dvips which uses the system() function insecurely when
managing fonts.

Since dvips is used in a print filter, this allows local or remote
attackers who have print access to carefully craft a print job that allows
them to execute arbitrary code as the user 'lp'.

A work around for this vulnerability is to remove the print filter for DVI
files. The following commands, run as root, will accomplish this:

rm -f /usr/share/printconf/mf_rules/mf40-tetex_filters
rm -f /usr/lib/rhs/rhs-printfilters/dvi-to-ps.fpi

However, to fix the problem in the dvips utility as well as remove the
print filter we recommend that all users upgrade to the these packages
contained within this erratum which contain a patch for this issue.

This vulnerability was discovered by Olaf Kirch of SuSE.

Additionally, the file /var/lib/texmf/ls-R had world-writable permissions.

This issue is also fixed by the packages contained within this erratum.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
tetex-1.0.7-38.4.src.rpm
File outdated by:  RHSA-2007:1028
    833348ac6f691900311e0ad68beb7200
 
IA-32:
tetex-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    60fd6ab608f8ac45091cc8e1cd5dcf5a
tetex-afm-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    70d1a0973537d1e97dfe345b3457698d
tetex-doc-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    2f65aac0c10b5bf20cb1bd0d2c71c5e3
tetex-dvilj-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    feae810077cd01fab9aa7ed9dd050445
tetex-dvips-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    5b250f1a78034eaaef81648543d574e1
tetex-fonts-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    e5ce0788e64a591c7ab439be97a40405
tetex-latex-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    499908f5c27f094d27c0347f7f7afca7
tetex-xdvi-1.0.7-38.4.i386.rpm
File outdated by:  RHSA-2007:1028
    e853c8d746f6104e19c3ac8cd7709914
 
(The unlinked packages above are only available from the Red Hat Network)

References


Keywords

dvips, system, tetex


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/