LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: April 7th, 2014
Linux Advisory Watch: April 4th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Redhat: 'ghostscript' vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux ghostscript makes use of mktemp instead of mkstemp to create temp files.

---------------------------------------------------------------------
                   Red Hat, Inc. Security Advisory

Synopsis:          ghostscript uses mktemp instead of mkstemp, and uses an
improper LD_RUN_PATH
Advisory ID:       RHSA-2000:114-03
Issue date:        2000-11-22
Updated on:        2000-11-22
Product:           Red Hat Linux
Keywords:          ghostscript mktemp LD_RUN_PATH
Cross references:  N/A
---------------------------------------------------------------------

1. Topic:

ghostscript makes use of mktemp instead of mkstemp to create temp files;
and also uses improper LD_RUN_PATH values, causing it to search for
libraries in the current directory.

2. Relevant releases/architectures:

Red Hat Linux 5.0 - i386, alpha, sparc
Red Hat Linux 5.1 - i386, alpha, sparc
Red Hat Linux 5.2 - i386, alpha, sparc
Red Hat Linux 6.0 - i386, alpha, sparc
Red Hat Linux 6.1 - i386, alpha, sparc
Red Hat Linux 6.2 - i386, alpha, sparc
Red Hat Linux 7.0 - i386

3. Problem description:

ghostscript makes use of mktemp to create temp files, which is an insecure
and predictable apporoach, it is now patched to use mkstemp, which avoid
the race condition on the name.

It also uses improper LD_RUN_PATH values, causing ghostscript to search for
libraries to load in current directorys.

4. Solution:

For each RPM for your particular architecture, run:

rpm -Fvh [filename]

where filename is the name of the RPM.

5. Bug IDs fixed  (http://bugzilla.Red Hat.com/bugzilla for more info):

20924 - gs reads libraries from current directory

6. RPMs required:

Red Hat Linux 5.2:

alpha: 
ftp://updates.Red Hat.com/5.2/alpha/ghostscript-4.03-2.alpha.rpm

sparc: 
ftp://updates.Red Hat.com/5.2/sparc/ghostscript-4.03-2.sparc.rpm

i386: 
ftp://updates.Red Hat.com/5.2/i386/ghostscript-4.03-2.i386.rpm

sources: 
ftp://updates.Red Hat.com/5.2/SRPMS/ghostscript-4.03-2.src.rpm

Red Hat Linux 6.2:

alpha: 
ftp://updates.Red Hat.com/6.2/alpha/ghostscript-5.50-8_6.x.alpha.rpm 
ftp://updates.Red Hat.com/6.2/alpha/ghostscript-5.50-8_6.x.alpha.rpm

sparc: 
ftp://updates.Red Hat.com/6.2/sparc/ghostscript-5.50-8_6.x.sparc.rpm 
ftp://updates.Red Hat.com/6.2/sparc/ghostscript-5.50-8_6.x.sparc.rpm

i386: 
ftp://updates.Red Hat.com/6.2/i386/ghostscript-5.50-8_6.x.i386.rpm 
ftp://updates.Red Hat.com/6.2/i386/ghostscript-5.50-8_6.x.i386.rpm

sources: 
ftp://updates.Red Hat.com/6.2/SRPMS/ghostscript-5.50-8_6.x.src.rpm 
ftp://updates.Red Hat.com/6.2/SRPMS/ghostscript-5.50-8_6.x.src.rpm

Red Hat Linux 7.0:

i386: 
ftp://updates.Red Hat.com/7.0/i386/ghostscript-5.50-8.i386.rpm

sources: 
ftp://updates.Red Hat.com/7.0/SRPMS/ghostscript-5.50-8.src.rpm

7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
d44d8436655d25ca53d0c4a87c5c7c77  5.2/SRPMS/ghostscript-4.03-2.src.rpm
1c8363a912a6f538312b3e457664d0eb  5.2/alpha/ghostscript-4.03-2.alpha.rpm
e11e7ec51f8e6051e50c5a93738f49ed  5.2/i386/ghostscript-4.03-2.i386.rpm
d3550b9fa695207b1405ce12a848eae2  5.2/sparc/ghostscript-4.03-2.sparc.rpm
e8c166031f02c9659f41a7e83ff4c97e  6.2/SRPMS/ghostscript-5.50-8_6.x.src.rpm
2e2944851c391f4ef50394d6b0c4a76a  6.2/alpha/ghostscript-5.50-8_6.x.alpha.rpm
9a4b61ddea7d18722198b772d6164619  6.2/i386/ghostscript-5.50-8_6.x.i386.rpm
fba7b417faaf19629642325ec6f34b84  6.2/sparc/ghostscript-5.50-8_6.x.sparc.rpm
6ad7beeb79d23f32ad320a659f5591d6  7.0/SRPMS/ghostscript-5.50-8.src.rpm
0d5f4448d5245721b1e2762f360791f2  7.0/i386/ghostscript-5.50-8.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/corp/contact.html

You can verify each package with the following command:
    rpm --checksig  

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg 

8. References:

N/A


Copyright(c) 2000 Red Hat, Inc.


 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Weekend Edition
Heartbleed: Security experts reality-check the 3 most hysterical fears
Open source trounces proprietary software for code defects, Coverity analysis finds
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.