Annotation of www/errata22.html, Revision 1.81
1.37 naddy 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1.1 deraadt 2: <html>
3: <head>
1.19 deraadt 4: <title>OpenBSD 2.2 errata</title>
1.1 deraadt 5: <meta name="description" content="the OpenBSD CD errata page">
1.41 henning 6: <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
1.80 sthen 7: <link rel="canonical" href="http://www.openbsd.org/errata22.html">
1.1 deraadt 8: </head>
9:
1.76 deraadt 10: <!--
11: IMPORTANT REMINDER
12: IF YOU ADD A NEW ERRATUM, MAIL THE PATCH TO TECH AND ANNOUNCE
13: -->
14:
1.42 david 15: <body bgcolor="#ffffff" text="#000000" link="#23238E">
1.1 deraadt 16:
1.32 jsyn 17: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
1.76 deraadt 18: <h2><font color="#e00000">
19: OpenBSD 2.2 errata
1.1 deraadt 20: </font></h2>
21:
1.2 deraadt 22: <hr>
1.20 jason 23: <a href=stable.html>For OpenBSD patch branch information, please refer here.</a><br>
1.34 deraadt 24: <br>
1.35 deraadt 25: For errata on a certain release, click below:<br>
1.34 deraadt 26: <a href="errata21.html">2.1</a>,
27: <a href="errata23.html">2.3</a>,
28: <a href="errata24.html">2.4</a>,
29: <a href="errata25.html">2.5</a>,
30: <a href="errata26.html">2.6</a>,
31: <a href="errata27.html">2.7</a>,
32: <a href="errata28.html">2.8</a>,
33: <a href="errata29.html">2.9</a>,
34: <a href="errata30.html">3.0</a>,
35: <a href="errata31.html">3.1</a>,
1.38 deraadt 36: <a href="errata32.html">3.2</a>,
1.40 david 37: <a href="errata33.html">3.3</a>,
1.44 david 38: <a href="errata34.html">3.4</a>,
1.45 miod 39: <a href="errata35.html">3.5</a>,
1.46 deraadt 40: <a href="errata36.html">3.6</a>,
1.69 deraadt 41: <a href="errata37.html">3.7</a>,
1.54 deraadt 42: <br>
1.48 deraadt 43: <a href="errata38.html">3.8</a>,
1.49 deraadt 44: <a href="errata39.html">3.9</a>,
1.50 deraadt 45: <a href="errata40.html">4.0</a>,
1.52 merdely 46: <a href="errata41.html">4.1</a>,
1.53 deraadt 47: <a href="errata42.html">4.2</a>,
1.54 deraadt 48: <a href="errata43.html">4.3</a>,
1.56 deraadt 49: <a href="errata44.html">4.4</a>,
1.57 deraadt 50: <a href="errata45.html">4.5</a>,
1.58 deraadt 51: <a href="errata46.html">4.6</a>,
1.60 deraadt 52: <a href="errata47.html">4.7</a>,
1.61 miod 53: <a href="errata48.html">4.8</a>,
1.62 nick 54: <a href="errata49.html">4.9</a>,
1.63 sthen 55: <a href="errata50.html">5.0</a>,
1.64 deraadt 56: <a href="errata51.html">5.1</a>,
1.65 deraadt 57: <a href="errata52.html">5.2</a>,
1.66 deraadt 58: <a href="errata53.html">5.3</a>,
1.69 deraadt 59: <br>
1.67 deraadt 60: <a href="errata54.html">5.4</a>,
1.75 jsg 61: <a href="errata55.html">5.5</a>,
1.79 deraadt 62: <a href="errata56.html">5.6</a>,
63: <a href="errata57.html">5.7</a>.
1.34 deraadt 64: <br>
1.2 deraadt 65: <hr>
66:
1.59 sthen 67: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2.tar.gz">
1.11 deraadt 68: You can also fetch a tar.gz file containing all the following patches</a>.
69: This file is updated once a day.
1.70 deraadt 70: <p>
1.11 deraadt 71:
1.70 deraadt 72: The patches below are available in CVS via the
73: <code>OPENBSD_2_2</code> <a href="stable.html">patch branch</a>.
1.21 ericj 74: <p>
1.70 deraadt 75:
1.36 deraadt 76: For more detailed information on how to install patches to OpenBSD, please
1.70 deraadt 77: consult the <a href="./faq/faq10.html#Patches">OpenBSD FAQ</a>.
78: <p>
1.21 ericj 79:
1.11 deraadt 80: <hr>
81:
1.1 deraadt 82: <ul>
1.77 bentley 83: <li id="ipsec">
1.73 deraadt 84: <font color="#009000"><strong>SECURITY FIX</strong></font>
85: <i>All architectures</i><br>
1.7 deraadt 86: If IPSEC communication is attempted by starting photurisd(8) (which is
1.8 deraadt 87: disabled by default), a system crash may be evoked from remote if
88: an attacker uses some classes of invalid packets.
1.59 sthen 89: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/ipsec.patch">
1.7 deraadt 90: A source code patch exists which remedies this problem.</a>
1.9 deraadt 91: <p>
1.77 bentley 92: <li id="xterm-xaw">
1.73 deraadt 93: <font color="#009000"><strong>SECURITY FIX</strong></font>
94: <i>All architectures</i><br>
1.5 matthieu 95: As stated in CERT advisory VB-98.04, there are buffer
1.8 deraadt 96: overrun problems in <strong>xterm</strong> related to the input-Method,
97: preeditType, and *Keymap resources. Additional buffer overruns exist in
98: the <strong>Xaw</strong> library related to the inputMethod and
99: preeditType resources. The xterm(1) problem represents a security
100: vulnerability for any platform where xterm is installed setuid-root
101: (as is the case for all OpenBSD platforms). The Xaw problem represents
102: a security vulnerability for any setuid-root program that uses the Xaw
103: library (including xterm). Patch1 from XFree86 3.3.2 corrects
104: these problems.
1.59 sthen 105: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/xterm-xaw.patch">
1.6 deraadt 106: We provide a version of this patch file specifically for the OpenBSD 2.2 tree</a>.
1.5 matthieu 107: <p>
1.77 bentley 108: <li id="rmjob">
1.73 deraadt 109: <font color="#009000"><strong>SECURITY FIX</strong></font>
110: <i>All architectures</i><br>
1.1 deraadt 111: An exploitable buffer mismanagement exists in a subroutine used by
112: lprm and lpd. The problem is exploitable by users on a particular
113: machine if there is an entry in <strong>/etc/printcap</strong> which
114: points at a remote printer.
1.59 sthen 115: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/rmjob.patch">
1.1 deraadt 116: A patch is available which corrects this behaviour</a>.
117: <p>
1.77 bentley 118: <li id="uucpd">
1.73 deraadt 119: <font color="#009000"><strong>SECURITY FIX</strong></font>
120: <i>All architectures</i><br>
1.1 deraadt 121: A DNS-based vulnerability exists when uucpd is used. By default uucpd
122: is not enabled in the OpenBSD releases, but some sites may have enabled it.
1.59 sthen 123: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/uucpd.patch">
1.1 deraadt 124: A patch is available which corrects this behaviour</a>.
125: <p>
1.77 bentley 126: <li id="named">
1.73 deraadt 127: <font color="#009000"><strong>SECURITY FIX</strong></font>
128: <i>All architectures</i><br>
1.1 deraadt 129: A vulnerability exists when (and only when) /etc/named.conf has the
130: <strong>fake-iquery</strong> option enabled.
1.59 sthen 131: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/named.patch">
1.1 deraadt 132: A patch is available which corrects this behaviour</a>.
133: <p>
1.77 bentley 134: <li id="ping">
1.73 deraadt 135: <font color="#009000"><strong>SECURITY FIX</strong></font>
136: <i>All architectures</i><br>
1.1 deraadt 137: A vulnerability exists in ping(8); if the -R option is used to record
138: routes, an attacker can spoof a reply packet that will overflow inside
139: ping. Preliminary investigation makes it look the worst attack
140: possible is to make ping crash, but one never knows...
1.59 sthen 141: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/ping.patch">
1.1 deraadt 142: A patch is available which corrects this behaviour</a>.
143: <p>
1.77 bentley 144: <li id="sourceroute">
1.71 deraadt 145: <strong><font color="#009000">SECURITY FIX</font></strong> <i>All architectures</i><br>
1.1 deraadt 146: If the sysctl variable <strong>net.inet.ip.forwarding</strong> is
147: enabled (value 1), but the variable <strong>net.inet.ip.sourceroute</strong>
148: is disabled (value 0), the kernel will block source routed packets from
149: going through, but will still accept source routing packets destined for
150: itself. Our fix changes the <strong>net.inet.ip.sourceroute</strong>
151: variable semantics to mean that all source routed packets should
152: be blocked completely.
1.59 sthen 153: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/sourceroute.patch">
1.1 deraadt 154: A kernel patch is provided</a>.
155: <p>
1.77 bentley 156: <li id="ruserok">
1.73 deraadt 157: <font color="#009000"><strong>SECURITY FIX</strong></font>
158: <i>All architectures</i><br>
1.1 deraadt 159: A combination localhost+remote host security problem exists if a
1.26 jsyn 160: local user running a setuid binary causes a non-existent root .rhosts
1.1 deraadt 161: file to be created via a symbolic link with a specific kind of corefile,
162: and then subsequently uses rsh/rlogin to enter the machine from remote.
163: A similar exploit might also be possible using sshd which lacks any code
164: for checking for deviations from the expected format in the .rhosts or
165: .shosts files, but we have not confirmed this yet. The following two
166: fixes are recommended:
167: <p>
168: <ul>
169: <li>
1.59 sthen 170: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/nosuidcoredump.patch">
1.1 deraadt 171: (1) A kernel patch which adds a new sysctl option which permits the
172: administrator to decide whether setuid corefiles should be written or not</a>.
173: <p>
1.59 sthen 174: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/rcmd.patch">
1.1 deraadt 175: (2) Replaces the libc ruserok() function with a more paranoid
176: version which detects bogus looking .rhosts files better.</a>
177: </ul>
178: <p>
179: If the
180: first patch is used to stop setuid coredumps, then the second patch is
181: not as important.
182: This problem is fixed much better in OpenBSD-current, where the kernel's
183: symbolic link handling has been improved such that coredumping will not
184: create a file on the other side of a symbolic link. Such a patch is not
185: possible for the 4.4lite1 VFS layer in the OpenBSD 2.2 kernel.<p>
186: The problem with the ruserok() function appears to also exist in
187: ssh 1.2.21 and previous (the ssh people have been alerted).
188: <p>
1.77 bentley 189: <li id="mmap">
1.71 deraadt 190: <strong><font color="#009000">SECURITY FIX</font></strong> <i>All architectures</i><br>
1.1 deraadt 191: A bug in the vm system permits a file descriptor opened read-only on a
192: device, to later on be mmap(2)'d read-write, and then modified. This
193: does not result in a security hole by itself, but it does violate the
194: safety semantics which securelevels are supposed to provide. If a user
195: manages to gain kmem group permissions, using this problem they can then
196: gain root trivially and/or turn securelevels off.
1.59 sthen 197: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/vm_mmap.patch">
1.1 deraadt 198: A kernel patch is available which corrects this behaviour (this is
199: revision 3 of this patch)</a>.
200: <p>
1.73 deraadt 201: <li><font color="#009000"><strong>BUILD PROCESS FIX</strong></font>
202: <i>All architectures</i><br>
1.1 deraadt 203: Building an object tree from a read-only source tree (such as off a CDROM)
204: may fail under certain circumstances (e.g. when creating a symlink on sparc
205: whose target name is exactly 33 characters). As a workaround you have to
206: either provide the source tree read/write, or install a newer version of
1.67 deraadt 207: /usr/bin/readlink.
1.59 sthen 208: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/readlink.c">
1.1 deraadt 209: A replacement source file exists</a>.
210: <p>
1.77 bentley 211: <li id="mountd">
1.73 deraadt 212: <font color="#009000"><strong>SECURITY FIX</strong></font>
213: <i>All architectures</i><br>
1.1 deraadt 214: If a line in /etc/exports which contains hostnames results in an empty
215: list because none of the supplied hostnames is known, mountd(8) will
216: accidentally export the filesystem to the world.
1.59 sthen 217: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/mountd.patch">
1.1 deraadt 218: A patch is available which corrects this behaviour</a>.
219: <p>
1.73 deraadt 220: <li><font color="#009000"><strong>RELIABILITY FIX</strong></font>
221: <i>All architectures</i><br>
1.1 deraadt 222: Setting the MSG_EOR flag on a tcp packet in the send(2) family of
223: system calls could cause a kernel panic.
1.59 sthen 224: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/send.patch">
1.1 deraadt 225: A patch</a> to return EINVAL in this case is available.
226: <p>
1.77 bentley 227: <li id="f00f">
1.41 henning 228: <font color="#009000"><strong>RELIABILITY FIX</strong></font><br>
1.26 jsyn 229: The Intel P5 F00F bug was discovered after the CDRs had already been
1.1 deraadt 230: sent to the manufacturer. This problem permits any user who has an account
231: to lock your machine up using a 4-line program. The problem only affects
232: Intel P5 processors (the i386, i486, P-Pro, and P-II are not vulnerable,
233: nor are processors by other manufacturers).
1.59 sthen 234: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/f00f.patch">
1.1 deraadt 235: A kernel source-code patch is available</a>.
236: <p>
1.37 naddy 237: <li><font color="#009000"><strong>FUNCTIONALITY FIX</strong></font><br>
1.1 deraadt 238: Some Linux binaries will execute in SVR4 emulation mode, which is
1.12 aaron 239: definitely a problem for people who need Linux emulation to work correctly.
1.1 deraadt 240: To solve this mis-identification problem,
1.59 sthen 241: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/compat_linux.patch">
1.1 deraadt 242: a patch file is provided</a>.
243: <p>
1.37 naddy 244: <li><font color="#009000"><strong>RELIABILITY FIX</strong></font><br>
1.1 deraadt 245: APM can crash on machines without it.
1.59 sthen 246: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/apm.patch">
1.1 deraadt 247: A kernel source-code patch is available</a>.
248: <p>
1.37 naddy 249: <li><font color="#009000"><strong>INSTALLATION PROCESS FLAW</strong></font><br>
1.25 pvalchev 250: A few people are running into this problem, particularly if they had some
1.1 deraadt 251: other *BSD operating system on their machine before trying OpenBSD: if after
252: installation onto an IDE-based machine, the kernel fails to mount the root
253: partition because it thinks that it should be opening sd0 (0x400), this means
254: you have incorrectly setup your disklabel for the IDE drive -- the disklabel
255: is indicating that the drive is SCSI.
256: To repair this, use the floppy to run "disklabel -E wd0", then using the
257: "edit" command ensure the type field is set to "ST506".
258: <p>
1.37 naddy 259: <li><font color="#009000"><strong>NEW SOFTWARE</strong></font><br>
1.1 deraadt 260: Unfortunately, X11 binaries for the mac68k did not manage to make it onto the
261: CDROM. However, X11 for the mac68k is immediately available from
1.59 sthen 262: <a href="http://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz">
263: http://ftp.OpenBSD.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz</a>. Please
264: be sure to read the <a href="http://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/README.X11">README file</a> also in that directory for instructions on installing
1.1 deraadt 265: and setting up X.
266: <p>
1.37 naddy 267: <li><font color="#009000"><strong>INSTALLATION PROCESS FLAW</strong></font><br>
1.1 deraadt 268: As shipped on the CDROM, both the
1.59 sthen 269: <a href="http://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/bsd-generic.tar.gz">
1.1 deraadt 270: generic kernel</a>
271: and the
1.59 sthen 272: <a href="http://ftp.openbsd.org/pub/OpenBSD/2.2/bsd-genericbsc.tar.gz">
1.1 deraadt 273: genericsbc kernel</a>
274: extract themselves into the wrong place in the filesystem.
275: Both <strong>should</strong> extract a kernel named <tt>/bsd</tt>, but they extract
276: the kernel into <tt>/usr/src/sys/arch/mac68k/compile</tt> instead.
277: <p>
278: This has been fixed on the ftp release of <a href=22.html>OpenBSD 2.2</a>, and
1.59 sthen 279: fresh kernels are available from <a href="http://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k">
280: http://ftp.OpenBSD.ORG/pub/OpenBSD/2.2/mac68k/</a>. If at all possible,
1.1 deraadt 281: installing these kernels is recommended.
282: <p>
283: A number of possible workarounds exist if you don't have easy access to ftp
284: the updated kernels. The simplest of these is to use a
285: MacOS program to uncompress and untar the kernel aad use the Installer's
286: mini-shell to "cpin" the kernel. Alternately, you could install the kernel
287: with the Installer and use the mini-shell to move the binary from <tt>/usr/src/...</tt> to <tt>/bsd</tt>.
288: <p>
1.37 naddy 289: <li><font color="#009000"><strong>RELIABILITY FIX</strong></font><br>
1.25 pvalchev 290: Older 4/xxx systems (particularly the 4/300's) cannot boot
1.1 deraadt 291: with the 2.2 kernel due to bugs in the scsi device driver.
1.59 sthen 292: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/esp.patch">
1.1 deraadt 293: A kernel source patch is available</a>.
294: Replacement kernels are available for:
1.59 sthen 295: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/bsd">bsd</a>,
296: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/bsd.scsi3">bsd.scsi3</a>,
1.1 deraadt 297: and a replacement for bsd.rd is coming soon.
298: <p>
1.77 bentley 299: <li id="sparciommu">
1.41 henning 300: <font color="#009000"><strong>RELIABILITY FIX</strong></font><br>
1.1 deraadt 301: SPARCstation 4 and 5 (Microsparc 2) users may see kernel panics when
302: using a custom kernel configured for option sun4m only.
1.59 sthen 303: <a href="http://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/sun4m.patch">
1.1 deraadt 304: A workaround (kernel source patch) is available</a>. Apply the patch and
305: then re-build your kernel.
306: <p>
1.37 naddy 307: <li><font color="#009000"><strong>FUNCTIONALITY FIX</strong></font><br>
1.1 deraadt 308: Missing Xamiga manual pages. Get
1.59 sthen 309: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/amiga/Xamiga-manual.tgz">
1.1 deraadt 310: this package</a> and execute, <i>as root</i>:<br>
311: <strong><b># </b>pkg_add Xamiga-manual.tgz</strong><br>
312: The MD5 checksum of this package is:<br>
313: <b>MD5 (Xamiga-manual.tgz) = 2362a7857264b9d17f65cca258b42031</b><p>
1.37 naddy 314: <li><font color="#009000"><strong>FUNCTIONALITY FIX</strong></font><br>
1.1 deraadt 315: The Ariadne ethernet support was broken, there will be both binary and
316: source level fixes available shortly. If you are in a hurry mail
1.37 naddy 317: <a href="mailto:niklas@openbsd.org">Niklas</a> for a test kernel.<p>
1.72 deraadt 318: <p>
1.37 naddy 319: <li><font color="#009000"><strong>FUNCTIONALITY FIX</strong></font><br>
1.67 deraadt 320: There is a Year-1998 problem in the time-setting code (which causes the
1.1 deraadt 321: date and time to be set incorrectly after a reboot in 1998).
1.59 sthen 322: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/clock.patch">
1.1 deraadt 323: A source code patch file is available</a> plus replacement installation
324: kernels for the 2.2 release at
1.59 sthen 325: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd.NFS">bsd.NFS</a>,
326: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd">bsd</a>,
327: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd.rz0">bsd.rz0</a>.
1.1 deraadt 328: <p>
1.37 naddy 329: <li><font color="#009000"><strong>FUNCTIONALITY FIX</strong></font><br>
1.1 deraadt 330: X11 support for the 3min and 3maxplus machines was broken
331: due to a kernel bug.
1.59 sthen 332: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/fb.patch">
1.1 deraadt 333: A source code patch is available</a>.
334: <p>
1.77 bentley 335: <li id="ldso">
1.41 henning 336: <font color="#009000"><strong>SECURITY FIX</strong></font><br>
1.1 deraadt 337: A security problem in the shared library linker <strong>ld.so</strong>
338: requires that you replace it with a new binary. The following binary
339: will work on both pmax and arc machines.
1.59 sthen 340: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/ld.so">
1.1 deraadt 341: The replacement binary is here</a>.
342: <p>
1.37 naddy 343: <li><font color="#009000"><strong>SECURITY FIX</strong></font><br>
1.1 deraadt 344: A security problem in the shared library linker <strong>ld.so</strong> requires
345: that you replace it with a new binary. The following binary
346: will work on both pmax and arc machines.
1.59 sthen 347: <a href="http://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/ld.so">
1.1 deraadt 348: The replacement binary is here</a>.
349: <p>
1.37 naddy 350: <li><font color="#009000"><strong>MISSING FUNCTIONALITY</strong></font><br>
1.4 deraadt 351: Network Address Translation and other parts of IP Filtering do not work
1.1 deraadt 352: on the alpha. This will be fixed in the 2.3 release, and perhaps earlier
353: in a snapshot. There is no patch for 2.2.
354: <p>
355: </ul>
356: <p>
1.64 deraadt 357:
1.78 tedu 358: <hr>
359:
1.1 deraadt 360: </body>
361: </html>