summaryrefslogtreecommitdiff
blob: 9ad88245b36d92707b41bd86ba91d2a6441ae91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200508-04">
  <title>Netpbm: Arbitrary code execution in pstopnm</title>
  <synopsis>
    The pstopnm utility, part of the Netpbm tools, contains a vulnerability
    which can potentially result in the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">Netpbm</product>
  <announced>2005-08-05</announced>
  <revised>2009-05-28: 06</revised>
  <bug>100398</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/netpbm" auto="yes" arch="*">
      <unaffected range="ge">10.28</unaffected>
      <unaffected range="rge">10.26.32</unaffected>
      <unaffected range="rge">10.26.33</unaffected>
      <unaffected range="rge">10.26.42</unaffected>
      <unaffected range="rge">10.26.43</unaffected>
      <unaffected range="rge">10.26.44</unaffected>
      <unaffected range="rge">10.26.48</unaffected>
      <unaffected range="rge">10.26.49</unaffected>
      <unaffected range="rge">10.26.59</unaffected>
      <unaffected range="rge">10.26.61</unaffected>
      <vulnerable range="lt">10.28</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Netpbm is a package of 220 graphics programs and a programming
    libraries, including pstopnm. pstopnm is a tool which converts
    PostScript files to PNM image files.
    </p>
  </background>
  <description>
    <p>
    Max Vozeler reported that pstopnm calls the GhostScript interpreter on
    untrusted PostScript files without specifying the -dSAFER option, to
    convert a PostScript file into a PBM, PGM, or PNM file.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could craft a malicious PostScript file and entice a user
    to run pstopnm on it, resulting in the execution of arbitrary commands
    with the permissions of the user running pstopnm.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Netpbm users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose media-libs/netpbm</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2471">CAN-2005-2471</uri>
    <uri link="https://secunia.com/advisories/16184/">Secunia Advisory SA16184</uri>
  </references>
  <metadata tag="requester" timestamp="2005-08-02T10:10:20Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-08-02T11:24:11Z">
    adir
  </metadata>
  <metadata tag="bugReady" timestamp="2005-08-05T10:42:23Z">
    koon
  </metadata>
</glsa>