summaryrefslogtreecommitdiff
blob: 60cb3a7e32002579eb0dd29303ef35d5aa4e1872 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200408-24">
  <title>Linux Kernel: Multiple information leaks</title>
  <synopsis>
    Multiple information leaks have been found in the Linux kernel, allowing an
    attacker to obtain sensitive data which may be used for further
    exploitation of the system.
  </synopsis>
  <product type="ebuild">Kernel</product>
  <announced>2004-08-25</announced>
  <revised count="03">2011-03-27</revised>
  <bug>59378</bug>
  <bug>59769</bug>
  <bug>59905</bug>
  <access>local</access>
  <affected>
    <package name="sys-kernel/aa-sources" auto="no" arch="*">
      <unaffected range="rge">2.4.23-r2</unaffected>
      <unaffected range="ge">2.6.5-r5</unaffected>
      <vulnerable range="lt">2.6.5-r5</vulnerable>
    </package>
    <package name="sys-kernel/alpha-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.21-r12</unaffected>
      <vulnerable range="lt">2.4.21-r12</vulnerable>
    </package>
    <package name="sys-kernel/ck-sources" auto="no" arch="*">
      <unaffected range="rge">2.4.26-r1</unaffected>
      <unaffected range="ge">2.6.7-r5</unaffected>
      <vulnerable range="lt">2.6.7-r5</vulnerable>
    </package>
    <package name="sys-kernel/development-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.8</unaffected>
      <vulnerable range="lt">2.6.8</vulnerable>
    </package>
    <package name="sys-kernel/gentoo-dev-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.7-r12</unaffected>
      <vulnerable range="lt">2.6.7-r12</vulnerable>
    </package>
    <package name="sys-kernel/gentoo-sources" auto="yes" arch="*">
      <unaffected range="rge">2.4.19-r22</unaffected>
      <unaffected range="rge">2.4.20-r25</unaffected>
      <unaffected range="rge">2.4.22-r16</unaffected>
      <unaffected range="rge">2.4.25-r9</unaffected>
      <unaffected range="ge">2.4.26-r9</unaffected>
      <vulnerable range="lt">2.4.26-r9</vulnerable>
    </package>
    <package name="sys-kernel/grsec-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.27.2.0.1-r1</unaffected>
      <vulnerable range="lt">2.4.27.2.0.1-r1</vulnerable>
    </package>
    <package name="sys-kernel/gs-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.25_pre7-r11</unaffected>
      <vulnerable range="lt">2.4.25_pre7-r11</vulnerable>
    </package>
    <package name="sys-kernel/hardened-dev-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.7-r7</unaffected>
      <vulnerable range="lt">2.6.7-r7</vulnerable>
    </package>
    <package name="sys-kernel/hardened-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.27-r1</unaffected>
      <vulnerable range="lt">2.4.27-r1</vulnerable>
    </package>
    <package name="sys-kernel/hppa-dev-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.7_p14-r1</unaffected>
      <vulnerable range="lt">2.6.7_p14-r1</vulnerable>
    </package>
    <package name="sys-kernel/hppa-sources" auto="no" arch="*">
      <unaffected range="ge">2.4.26_p7-r1</unaffected>
      <vulnerable range="lt">2.4.26_p7-r1</vulnerable>
    </package>
    <package name="sys-kernel/ia64-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.24-r10</unaffected>
      <vulnerable range="lt">2.4.24-r10</vulnerable>
    </package>
    <package name="sys-kernel/mips-sources" auto="yes" arch="*">
      <unaffected range="rge">2.4.25-r8</unaffected>
      <unaffected range="rge">2.4.26-r8</unaffected>
      <unaffected range="rge">2.6.4-r8</unaffected>
      <unaffected range="rge">2.6.6-r8</unaffected>
      <unaffected range="ge">2.6.7-r5</unaffected>
      <vulnerable range="lt">2.6.6-r8</vulnerable>
    </package>
    <package name="sys-kernel/mm-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.8_rc4-r1</unaffected>
      <vulnerable range="lt">2.6.8_rc4-r1</vulnerable>
    </package>
    <package name="sys-kernel/openmosix-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.24-r4</unaffected>
      <vulnerable range="lt">2.4.24-r4</vulnerable>
    </package>
    <package name="sys-kernel/pac-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.23-r12</unaffected>
      <vulnerable range="lt">2.4.23-r12</vulnerable>
    </package>
    <package name="sys-kernel/pegasos-dev-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.8</unaffected>
      <vulnerable range="lt">2.6.8</vulnerable>
    </package>
    <package name="sys-kernel/rsbac-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.26-r5</unaffected>
      <vulnerable range="lt">2.4.26-r5</vulnerable>
    </package>
    <package name="sys-kernel/rsbac-dev-sources" auto="yes" arch="*">
      <unaffected range="ge">2.6.7-r5</unaffected>
      <vulnerable range="lt">2.6.7-r5</vulnerable>
    </package>
    <package name="sys-kernel/selinux-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.26-r3</unaffected>
      <vulnerable range="lt">2.4.26-r3</vulnerable>
    </package>
    <package name="sys-kernel/sparc-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.27-r1</unaffected>
      <vulnerable range="lt">2.4.27-r1</vulnerable>
    </package>
    <package name="sys-kernel/uclinux-sources" auto="yes" arch="*">
      <unaffected range="rge">2.4.26_p0-r6</unaffected>
      <unaffected range="ge">2.6.7_p0-r5</unaffected>
      <vulnerable range="lt">2.6.7_p0-r5</vulnerable>
    </package>
    <package name="sys-kernel/usermode-sources" auto="yes" arch="*">
      <unaffected range="rge">2.4.24-r9</unaffected>
      <unaffected range="rge">2.4.26-r6</unaffected>
      <unaffected range="ge">2.6.6-r6</unaffected>
      <vulnerable range="lt">2.6.6-r6</vulnerable>
    </package>
    <package name="sys-kernel/vanilla-sources" auto="yes" arch="*">
      <unaffected range="ge">2.4.27</unaffected>
      <vulnerable range="lt">2.4.27</vulnerable>
    </package>
    <package name="sys-kernel/vserver-sources" auto="yes" arch="*">
      <unaffected range="ge">2.0</unaffected>
      <vulnerable range="lt">2.4.26.1.28-r4</vulnerable>
      <vulnerable range="lt">2.0</vulnerable>
      <vulnerable range="ge">2.4</vulnerable>
    </package>
    <package name="sys-kernel/win4lin-sources" auto="yes" arch="*">
      <unaffected range="rge">2.4.26-r6</unaffected>
      <unaffected range="ge">2.6.7-r2</unaffected>
      <vulnerable range="lt">2.6.7-r5</vulnerable>
    </package>
    <package name="sys-kernel/wolk-sources" auto="yes" arch="*">
      <unaffected range="rge">4.9-r14</unaffected>
      <unaffected range="rge">4.11-r10</unaffected>
      <unaffected range="ge">4.14-r7</unaffected>
      <vulnerable range="lt">4.14-r7</vulnerable>
    </package>
    <package name="sys-kernel/xbox-sources" auto="yes" arch="*">
      <unaffected range="rge">2.4.27-r1</unaffected>
      <unaffected range="ge">2.6.7-r5</unaffected>
      <vulnerable range="lt">2.6.7-r5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The Linux kernel is responsible for managing the core aspects of a
    GNU/Linux system, providing an interface for core system applications
    as well as providing the essential structure and capability to access
    hardware that is needed for a running system.
    </p>
  </background>
  <description>
    <p>
    The Linux kernel allows a local attacker to obtain sensitive kernel
    information by gaining access to kernel memory via several leaks in the
    /proc interfaces. These vulnerabilities exist in various drivers which
    make up a working Linux kernel, some of which are present across all
    architectures and configurations.
    </p>
    <p>
    CAN-2004-0415 deals with addressing invalid 32 to 64 bit conversions in
    the kernel, as well as insecure direct access to file offset pointers
    in kernel code which can be modified by the open(...), lseek(...) and
    other core system I/O functions by an attacker.
    </p>
    <p>
    CAN-2004-0685 deals with certain USB drivers using uninitialized
    structures and then using the copy_to_user(...) kernel call to copy
    these structures. This may leak uninitialized kernel memory, which can
    contain sensitive information from user applications.
    </p>
    <p>
    Finally, a race condition with the /proc/.../cmdline node was found,
    allowing environment variables to be read while the process was still
    spawning. If the race is won, environment variables of the process,
    which might not be owned by the attacker, can be read.
    </p>
  </description>
  <impact type="normal">
    <p>
    These vulnerabilities allow a local unprivileged attacker to access
    segments of kernel memory or environment variables which may contain
    sensitive information. Kernel memory may contain passwords, data
    transferred between processes and any memory which applications did not
    clear upon exiting as well as the kernel cache and kernel buffers.
    </p>
    <p>
    This information may be used to read sensitive data, open other attack
    vectors for further exploitation or cause a Denial of Service if the
    attacker can gain superuser access via the leaked information.
    </p>
  </impact>
  <workaround>
    <p>
    There is no temporary workaround for any of these information leaks
    other than totally disabling /proc support - otherwise, a kernel
    upgrade is required. A list of unaffected kernels is provided along
    with this announcement.
    </p>
  </workaround>
  <resolution>
    <p>
    Users are encouraged to upgrade to the latest available sources for
    their system:
    </p>
    <code>
    # emerge sync
    # emerge -pv your-favorite-sources
    # emerge your-favorite-sources
    
    # # Follow usual procedure for compiling and installing a kernel.
    # # If you use genkernel, run genkernel as you would normally.</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0415">CAN-2004-0415</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0685">CAN-2004-0685</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1058">CVE-2004-1058</uri>
  </references>
  <metadata tag="submitter" timestamp="2004-08-17T02:16:55Z">
    plasmaroo
  </metadata>
</glsa>