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

Submitter:  Ludwig Nussel <lnussel>
Submitted:  Wed 02 Jun 2010 01:17:48 PM UTC
   
 
Category:  Sources configuration Severity:  6 - Security
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None

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

Fixed in prerelase 3.6.91.

Markus Steinborn <msteinbo>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-03 msteinbo Severity3 - Normal 6 - Security
        StatusNone Fixed
        Open/ClosedOpen Closed
    2010-06-02 msteinbo CategoryPDF rendering Sources configuration
    2010-06-02 lnussel Carbon-Copy- Added wfink

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code