summaryrefslogtreecommitdiff
blob: ef6f344fa71a7afe4ae9f54252685ce6c8da1412 (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
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200901-02">
  <title>JHead: Multiple vulnerabilities</title>
  <synopsis>
    Multiple vulnerabilities in JHead might lead to the execution of arbitrary
    code or data loss.
  </synopsis>
  <product type="ebuild">jhead</product>
  <announced>2009-01-11</announced>
  <revised count="01">2009-01-11</revised>
  <bug>242702</bug>
  <bug>243238</bug>
  <access>remote</access>
  <affected>
    <package name="media-gfx/jhead" auto="yes" arch="*">
      <unaffected range="ge">2.84-r1</unaffected>
      <vulnerable range="lt">2.84-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    JHead is an exif jpeg header manipulation tool.
    </p>
  </background>
  <description>
    <p>
    Marc Merlin and John Dong reported multiple vulnerabilities in JHead:
    </p>
    <ul>
    <li>
    A buffer overflow in the DoCommand() function when processing the cmd
    argument and related to potential string overflows (CVE-2008-4575).
    </li>
    <li>
    An insecure creation of a temporary file (CVE-2008-4639).
    </li>
    <li>
    A error when unlinking a file (CVE-2008-4640).
    </li>
    <li>
    Insufficient escaping of shell metacharacters (CVE-2008-4641).
    </li>
    </ul>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could possibly execute arbitrary code by enticing a
    user or automated system to open a file with a long filename or via
    unspecified vectors. It is also possible to trick a user into deleting
    or overwriting files.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All JHead users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-gfx/jhead-2.84-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4575">CVE-2008-4575</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4639">CVE-2008-4639</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4640">CVE-2008-4640</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4641">CVE-2008-4641</uri>
  </references>
  <metadata tag="requester" timestamp="2008-11-26T18:47:59Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2008-11-26T21:08:46Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-12-10T17:01:39Z">
    rbu
  </metadata>
</glsa>