bugGNU gv - Bugs: bug #30037, insecure creation of temporary file

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30037: insecure creation of temporary file

Submitted by:  Ludwig Nussel <lnussel>
Submitted on:  Wed 02 Jun 2010 01:17:48 PM UTC  
 
Category: Sources configurationSeverity: 6 - Security
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None

Thu 03 Jun 2010 04:29:27 PM UTC, comment #3:

Fixed in prerelase 3.6.91.

Markus Steinborn <msteinbo>
Project Administrator
Wed 02 Jun 2010 01:32:03 PM UTC, comment #2:

Thank you for the bug report. I'm already working on this problem - see the debian bug report you linked and also see the public bug-gv archives.

If you are interested (your suse.de makes me believe so), you can get the development version from git. It will use mkstemp and invoke ghostscript from a safe directory.

Currently one feature is still missing: If the safe direcory does not exist, mkdtemp should be used to create one in /tmp. But this is not done yet.

Expect a fixed release quite soon. As the new changes aren't tested on non GNU/linux systems and translatiosn are still missing (from GNU gv 3.6.90 it supports being translated!), it will be released on ftp://alpa.gnu.org. Anyway we believe it will be stable.

Markus Steinborn <msteinbo>
Project Administrator
Wed 02 Jun 2010 01:26:13 PM UTC, comment #1:

The issue got CVE-2010-2056 assigned

Ludwig Nussel <lnussel>
Wed 02 Jun 2010 01:17:48 PM UTC, original submission:

when viewing pdf files gv instructs gs to write into a file in /tmp. gv does not make sure that the file gets created in a secure way though. gv should either not use /tmp for the storage or use mkstemp to actually create the file before calling gs. The issue was originally reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583316#10

Ludwig Nussel <lnussel>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by msteinbo (Posted a comment)
  • -unavailable- added by lnussel
  • -unavailable- added by lnussel (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Jun 2010 04:29:27 PM UTCmsteinboSeverity3 - Normal=>6 - Security
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 02 Jun 2010 01:32:03 PM UTCmsteinboCategoryPDF rendering=>Sources configuration
    Wed 02 Jun 2010 01:18:14 PM UTClnusselCarbon-Copy-=>Added wfink

    Back to the top


    Powered by Savane 3.1-cleanup1