]> git.ipfire.org Git - thirdparty/cups.git/blob - CHANGES.md
CVE-2019-2228: Fix ippSetValueTag validation of default language.
[thirdparty/cups.git] / CHANGES.md
1 CHANGES - 2.3.1 - 2019-12-13
2 ============================
3
4
5 Changes in CUPS v2.3.1
6 ----------------------
7
8 - Documentation updates (Issue #5661, #5674, #5682)
9 - CVE-2019-2228: The `ippSetValuetag` function did not validate the default
10 language value.
11 - Fixed a crash bug in the web interface (Issue #5621)
12 - The PPD cache code now looks up page sizes using their dimensions
13 (Issue #5633)
14 - PPD files containing "custom" option keywords did not work (Issue #5639)
15 - Added a workaround for the scheduler's systemd support (Issue #5640)
16 - On Windows, TLS certificates generated on February 29 would likely fail
17 (Issue #5643)
18 - Added a DigestOptions directive for the `client.conf` file to control whether
19 MD5-based Digest authentication is allowed (Issue #5647)
20 - Fixed a bug in the handling of printer resource files (Issue #5652)
21 - The libusb-based USB backend now reports an error when the distribution
22 permissions are wrong (Issue #5658)
23 - Added paint can labels to Dymo driver (Issue #5662)
24 - The `ippeveprinter` program now supports authentication (Issue #5665)
25 - The `ippeveprinter` program now advertises DNS-SD services on the correct
26 interfaces, and provides a way to turn them off (Issue #5666)
27 - The `--with-dbusdir` option was ignored by the configure script (Issue #5671)
28 - Sandboxed applications were not able to get the default printer (Issue #5676)
29 - Log file access controls were not preserved by `cupsctl` (Issue #5677)
30 - Default printers set with `lpoptions` did not work in all cases (Issue #5681,
31 Issue #5683, Issue #5684)
32 - Fixed an error in the jobs web interface template (Issue #5694)
33 - Fixed an off-by-one error in `ippEnumString` (Issue #5695)
34 - The IPP backend did not detect all cases where a job should be retried using
35 - Fixed a few issues with the Apple Raster support (rdar://55301114)
36 a raster format (rdar://56021091)
37 - Fixed spelling of "fold-accordion".
38 - Fixed the default common name for TLS certificates used by `ippeveprinter`.
39 - Fixed the option names used for IPP Everywhere finishing options.
40 - Added support for the second roll of the DYMO Twin/DUO label printers.
41
42
43 Changes in CUPS v2.3.0
44 ----------------------
45
46 - CVE-2019-8696 and CVE-2019-8675: Fixed SNMP buffer overflows (rdar://51685251)
47 - Added a GPL2/LGPL2 exception to the new CUPS license terms.
48 - Documentation updates (Issue #5604)
49 - Localization updates (Issue #5637)
50 - Fixed a bug in the scheduler job cleanup code (Issue #5588)
51 - Fixed builds when there is no TLS library (Issue #5590)
52 - Eliminated some new GCC compiler warnings (Issue #5591)
53 - Removed dead code from the scheduler (Issue #5593)
54 - "make" failed with GZIP options (Issue #5595)
55 - Fixed potential excess logging from the scheduler when removing job files
56 (Issue #5597)
57 - Fixed a NULL pointer dereference bug in `httpGetSubField2` (Issue #5598)
58 - Added FIPS-140 workarounds for GNU TLS (Issue #5601, Issue #5622)
59 - The scheduler no longer provides a default value for the description
60 (Issue #5603)
61 - The scheduler now logs jobs held for authentication using the error level so
62 it is clear what happened (Issue #5604)
63 - The `lpadmin` command did not always update the PPD file for changes to the
64 `cupsIPPSupplies` and `cupsSNMPSupplies` keywords (Issue #5610)
65 - The scheduler now uses both the group's membership list as well as the
66 various OS-specific membership functions to determine whether a user belongs
67 to a named group (Issue #5613)
68 - Added USB quirks rule for HP LaserJet 1015 (Issue #5617)
69 - Fixed some PPD parser issues (Issue #5623, Issue #5624)
70 - The IPP parser no longer allows invalid member attributes in collections
71 (Issue #5630)
72 - The configure script now treats the "wheel" group as a potential system
73 group (Issue #5638)
74 - Fixed a USB printing issue on macOS (rdar://31433931)
75 - Fixed IPP buffer overflow (rdar://50035411)
76 - Fixed memory disclosure issue in the scheduler (rdar://51373853)
77 - Fixed DoS issues in the scheduler (rdar://51373929)
78 - Fixed an issue with unsupported "sides" values in the IPP backend
79 (rdar://51775322)
80 - The scheduler would restart continuously when idle and printers were not
81 shared (rdar://52561199)
82 - Fixed an issue with `EXPECT !name WITH-VALUE ...` tests.
83 - Fixed a command ordering issue in the Zebra ZPL driver.
84 - Fixed a memory leak in `ppdOpen`.
85
86
87 Changes in CUPS v2.3rc1
88 -----------------------
89
90 - The `cups-config` script no longer adds extra libraries when linking against
91 shared libraries (Issue #5261)
92 - The supplied example print documents have been optimized for size
93 (Issue #5529)
94 - The `cupsctl` command now prevents setting "cups-files.conf" directives
95 (Issue #5530)
96 - The "forbidden" message in the web interface is now explained (Issue #5547)
97 - The footer in the web interface covered some content on small displays
98 (Issue #5574)
99 - The libusb-based USB backend now enforces read limits, improving print speed
100 in many cases (Issue #5583)
101 - The `ippeveprinter` command now looks for print commands in the "command"
102 subdirectory.
103 - The `ipptool` command now supports `$date-current` and `$date-start` variables
104 to insert the current and starting date and time values, as well as ISO-8601
105 relative time values such as "PT30S" for 30 seconds in the future.
106
107
108 Changes in CUPS v2.3b8
109 ----------------------
110
111 - Media size matching now uses a tolerance of 0.5mm (rdar://33822024)
112 - The lpadmin command would hang with a bad PPD file (rdar://41495016)
113 - Fixed a potential crash bug in cups-driverd (rdar://46625579)
114 - Fixed a performance regression with large PPDs (rdar://47040759)
115 - Fixed a memory reallocation bug in HTTP header value expansion
116 (rdar://problem/50000749)
117 - Timed out job submission now yields an error (Issue #5570)
118 - Restored minimal support for the `Emulators` keyword in PPD files to allow
119 old Samsung printer drivers to continue to work (Issue #5562)
120 - The scheduler did not encode octetString values like "job-password" correctly
121 for the print filters (Issue #5558)
122 - The `cupsCheckDestSupported` function did not check octetString values
123 correctly (Issue #5557)
124 - Added support for `UserAgentTokens` directive in "client.conf" (Issue #5555)
125 - Updated the systemd service file for cupsd (Issue #5551)
126 - The `ippValidateAttribute` function did not catch all instances of invalid
127 UTF-8 strings (Issue #5509)
128 - Fixed an issue with the self-signed certificates generated by GNU TLS
129 (Issue #5506)
130 - Fixed a potential memory leak when reading at the end of a file (Issue #5473)
131 - Fixed potential unaligned accesses in the string pool (Issue #5474)
132 - Fixed a potential memory leak when loading a PPD file (Issue #5475)
133 - Added a USB quirks rule for the Lexmark E120n (Issue #5478)
134 - Updated the USB quirks rule for Zebra label printers (Issue #5395)
135 - Fixed a compile error on Linux (Issue #5483)
136 - The lpadmin command, web interface, and scheduler all queried an IPP
137 Everywhere printer differently, resulting in different PPDs for the same
138 printer (Issue #5484)
139 - The web interface no longer provides access to the log files (Issue #5513)
140 - Non-Kerberized printing to Windows via IPP was broken (Issue #5515)
141 - Eliminated use of private headers and some deprecated macOS APIs (Issue #5516)
142 - The scheduler no longer stops a printer if an error occurs when a job is
143 canceled or aborted (Issue #5517)
144 - Added a USB quirks rule for the DYMO 450 Turbo (Issue #5521)
145 - Added a USB quirks rule for Xerox printers (Issue #5523)
146 - The scheduler's self-signed certificate did not include all of the alternate
147 names for the server when using GNU TLS (Issue #5525)
148 - Fixed compiler warnings with newer versions of GCC (Issue #5532, Issue #5533)
149 - Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs
150 (Issue #5535)
151 - Fixed `PreserveJobHistory` bug with time values (Issue #5538)
152 - The scheduler no longer advertises the HTTP methods it supports (Issue #5540)
153 - Localization updates (Issue #5461, Issues #5471, Issue #5481, Issue #5486,
154 Issue #5489, Issue #5491, Issue #5492, Issue #5493, Issue #5494, Issue #5495,
155 Issue #5497, Issue #5499, Issue #5500, Issue #5501, Issue #5504)
156 - The scheduler did not always idle exit as quickly as it could.
157 - Added a new `ippeveprinter` command based on the old ippserver sample code.
158
159
160 Changes in CUPS v2.3b7
161 ----------------------
162
163 - Fixed some build failures (Issue #5451, Issue #5463)
164 - Running ppdmerge with the same input and output filenames did not work as
165 advertised (Issue #5455)
166
167
168 Changes in CUPS v2.3b6
169 ----------------------
170
171 - Localization update (Issue #5339, Issue #5348, Issue #5362, Issue #5408,
172 Issue #5410)
173 - Documentation updates (Issue #5369, Issue #5402, Issue #5403, Issue #5404)
174 - CVE-2018-4300: Linux session cookies used a predictable random number seed.
175 - All user commands now support the `--help` option (Issue #5326)
176 - The `lpoptions` command now works with IPP Everywhere printers that have not
177 yet been added as local queues (Issue #5045)
178 - The lpadmin command would create a non-working printer in some error cases
179 (Issue #5305)
180 - The scheduler would crash if an empty `AccessLog` directive was specified
181 (Issue #5309)
182 - The scheduler did not idle-exit on some Linux distributions (Issue #5319)
183 - Fixed a regression in the changes to ippValidateAttribute (Issue #5322,
184 Issue #5330)
185 - Fixed a crash bug in the Epson dot matrix driver (Issue #5323)
186 - Automatic debug logging of job errors did not work with systemd (Issue #5337)
187 - The web interface did not list the IPP Everywhere "driver" (Issue #5338)
188 - The scheduler did not report all of the supported job options and values
189 (Issue #5340)
190 - The IPP Everywhere "driver" now properly supports face-up printers
191 (Issue #5345)
192 - Fixed some typos in the label printer drivers (Issue #5350)
193 - Setting the `Community` name to the empty string in `snmp.conf` now disables
194 SNMP supply level monitoring by all the standard network backends
195 (Issue #5354)
196 - Multi-file jobs could get stuck if the backend failed (Issue #5359,
197 Issue #5413)
198 - The IPP Everywhere "driver" no longer does local filtering when printing to
199 a shared CUPS printer (Issue #5361)
200 - The lpadmin command now correctly reports IPP errors when configuring an
201 IPP Everywhere printer (Issue #5370)
202 - Fixed some memory leaks discovered by Coverity (Issue #5375)
203 - The PPD compiler incorrectly terminated JCL options (Issue #5379)
204 - The cupstestppd utility did not generate errors for missing/mismatched
205 CloseUI/JCLCloseUI keywords (Issue #5381)
206 - The scheduler now reports the actual location of the log file (Issue #5398)
207 - Added USB quirk rules (Issue #5395, Issue #5420, Issue #5443)
208 - The generated PPD files for IPP Everywhere printers did not contain the
209 cupsManualCopies keyword (Issue #5433)
210 - Kerberos credentials might be truncated (Issue #5435)
211 - The handling of `MaxJobTime 0` did not match the documentation (Issue #5438)
212 - Fixed a bug adding a queue with the `-E` option (Issue #5440)
213 - The `cupsaddsmb` program has been removed (Issue #5449)
214 - The `cupstestdsc` program has been removed (Issue #5450)
215 - The scheduler was being backgrounded on macOS, causing applications to spin
216 (rdar://40436080)
217 - The scheduler did not validate that required initial request attributes were
218 in the operation group (rdar://41098178)
219 - Authentication in the web interface did not work on macOS (rdar://41444473)
220 - Fixed an issue with HTTP Digest authentication (rdar://41709086)
221 - The scheduler could crash when job history was purged (rdar://42198057)
222 - Fixed a crash bug when mapping PPD duplex options to IPP attributes
223 (rdar://46183976)
224 - Fixed a memory leak for some IPP (extension) syntaxes.
225 - The `cupscgi`, `cupsmime`, and `cupsppdc` support libraries are no longer
226 installed as shared libraries.
227 - The `snmp` backend is now deprecated.
228
229
230 Changes in CUPS v2.3b5
231 ----------------------
232
233 - The `ipptool` program no longer checks for duplicate attributes when running
234 in list or CSV mode (Issue #5278)
235 - The `cupsCreateJob`, `cupsPrintFile2`, and `cupsPrintFiles2` APIs did not use
236 the supplied HTTP connection (Issue #5288)
237 - Fixed another crash in the scheduler when adding an IPP Everywhere printer
238 (Issue #5290)
239 - Added a workaround for certain web browsers that do not support multiple
240 authentication schemes in a single response header (Issue #5289)
241 - Fixed policy limits containing the `All` operation (Issue #5296)
242 - The scheduler was always restarted after idle-exit with systemd (Issue #5297)
243 - Added a USB quirks rule for the HP LaserJet P1102 (Issue #5310)
244 - The mailto notifier did not wait for the welcome message (Issue #5312)
245 - Fixed a parsing bug in the pstops filter (Issue #5321)
246 - Documentation updates (Issue #5299, Issue #5301, Issue #5306)
247 - Localization updates (Issue #5317)
248 - The scheduler allowed environment variables to be specified in the
249 `cupsd.conf` file (rdar://37836779, rdar://37836995, rdar://37837252,
250 rdar://37837581)
251 - Fax queues did not support pause (p) or wait-for-dialtone (w) characters
252 (rdar://39212256)
253 - The scheduler did not validate notify-recipient-uri values properly
254 (rdar://40068936)
255 - The IPP parser allowed invalid group tags (rdar://40442124)
256 - Fixed a parsing bug in the new authentication code.
257
258
259 Changes in CUPS v2.3b4
260 ----------------------
261
262 - NOTICE: Printer drivers are now deprecated (Issue #5270)
263 - Kerberized printing to another CUPS server did not work correctly
264 (Issue #5233)
265 - Fixed printing to some IPP Everywhere printers (Issue #5238)
266 - Fixed installation of filters (Issue #5247)
267 - The scheduler now supports using temporary print queues for older IPP/1.1
268 print queues like those shared by CUPS 1.3 and earlier (Issue #5241)
269 - Star Micronics printers need the "unidir" USB quirk rule (Issue #5251)
270 - Documentation fixes (Issue #5252)
271 - Fixed a compile issue when PAM is not available (Issue #5253)
272 - Label printers supported by the rastertolabel driver don't support SNMP, so
273 don't delay printing to test it (Issue #5256)
274 - The scheduler could crash while adding an IPP Everywhere printer (Issue #5258)
275 - The Lexmark Optra E310 printer needs the "no-reattach" USB quirk rule
276 (Issue #5259)
277 - Systemd did not restart cupsd when configuration changes were made that
278 required a restart (Issue #5263)
279 - The IPP Everywhere PPD generator did not include the `cupsJobPassword`
280 keyword, when supported (Issue #5265)
281 - Fixed an Avahi crash bug in the scheduler (Issue #5268)
282 - Raw print queues are now deprecated (Issue #5269)
283 - Fixed an RPM packaging problem (Issue #5276)
284 - The IPP backend did not properly detect failed PDF prints (rdar://34055474)
285 - TLS connections now properly timeout (rdar://34938533)
286 - Temp files could not be created in some sandboxed applications
287 (rdar://37789645)
288 - The ipptool `--ippserver` option did not encode out-of-band attributes
289 correctly.
290 - Added public `cupsEncodeOption` API for encoding a single option as an IPP
291 attribute.
292 - Removed support for the `-D_PPD_DEPRECATED=""` developer cheat - the PPD API
293 should no longer be used.
294 - Removed support for `-D_IPP_PRIVATE_STRUCTURES=1` developer cheat - the IPP
295 accessor functions should be used instead.
296
297
298 Changes in CUPS v2.3b3
299 ----------------------
300
301 - More fixes for printing to old CUPS servers (Issue #5211)
302 - The IPP Everywhere PPD generator did not support deep grayscale or 8-bit per
303 component AdobeRGB (Issue #5227)
304 - Additional changes for the scheduler to substitute default values for invalid
305 job attributes when running in "relaxed conformance" mode (Issue #5229)
306 - Localization changes (Issue #5232, rdar://37068158)
307 - The `cupsCopyDestInfo` function did not work with all print queues
308 (Issue #5235)
309
310
311 Changes in CUPS v2.3b2
312 ----------------------
313
314 - Localization changes (Issue #5210)
315 - Build fixes (Issue #5217)
316 - IPP Everywhere PPDs were not localized to English (Issue #5205)
317 - The `cupsGetDests` and `cupsEnumDests` functions no longer filter out local
318 print services like IPP USB devices (Issue #5206)
319 - The `cupsCopyDest` function now correctly copies the `is_default` value
320 (Issue #5208)
321 - Printing to old CUPS servers has been fixed (Issue #5211)
322 - The `ppdInstallableConflict` tested too many constraints (Issue #5213)
323 - All HTTP field values can now be longer than `HTTP_MAX_VALUE` bytes
324 (Issue #5216)
325 - Added a USB quirk rule for Canon MP280 series printers (Issue #5221)
326 - The `cupsRasterWritePixels` function did not correctly swap bytes for some
327 formats (Issue #5225)
328 - Fixed an issue with mapping finishing options (rdar://34250727)
329 - The `ppdLocalizeIPPReason` function incorrectly returned a localized version
330 of "none" (rdar://36566269)
331 - The scheduler did not add ".local" to the default DNS-SD host name when
332 needed.
333
334
335 Changes in CUPS v2.3b1
336 ----------------------
337
338 - CUPS is now provided under the Apache License, Version 2.0.
339 - Documentation updates (Issue #4580, Issue #5177, Issue #5192)
340 - The `cupsCopyDestConflicts` function now handles collection attribute
341 ("media-col", "finishings-col", etc.) constraints (Issue #4096)
342 - The `lpoptions` command incorrectly saved default options (Issue #4717)
343 - The `lpstat` command now reports when new jobs are being held (Issue #4761)
344 - The `ippfind` command now supports finding printers whose name starts with an
345 underscore (Issue #4833)
346 - The CUPS library now supports the latest HTTP Digest authentication
347 specification including support for SHA-256 (Issue #4862)
348 - The scheduler now supports the "printer-id" attribute (Issue #4868)
349 - No longer support backslash, question mark, or quotes in printer names
350 (Issue #4966)
351 - The scheduler no longer logs pages as they are printed, instead just logging
352 a total of the pages printed at job completion (Issue #4991)
353 - Dropped RSS subscription management from the web interface (Issue #5012)
354 - Bonjour printer sharing now uses the DNS-SD hostname (or ServerName value if
355 none is defined) when registering shared printers on the network (Issue #5071)
356 - The `ipptool` command now supports writing `ippserver` attributes files
357 (Issue #5093)
358 - The `lp` and `lpr` commands now provide better error messages when the default
359 printer cannot be found (Issue #5096)
360 - The `lpadmin` command now provides a better error message when an unsupported
361 System V interface script is used (Issue #5111)
362 - The scheduler did not write out dirty configuration and state files if there
363 were open client connections (Issue #5118)
364 - The `SSLOptions` directive now supports `MinTLS` and `MaxTLS` options to
365 control the minimum and maximum TLS versions that will be allowed,
366 respectively (Issue #5119)
367 - Dropped hard-coded CGI scripting language support (Issue #5124)
368 - The `cupsEnumDests` function did not include options from the lpoptions
369 files (Issue #5144)
370 - Fixed the `ippserver` sample code when threading is disabled or unavailable
371 (Issue #5154)
372 - Added label markup to checkbox and radio button controls in the web interface
373 templates (Issue #5161)
374 - Fixed group validation on OpenBSD (Issue #5166)
375 - Improved IPP Everywhere media support, including a new
376 `cupsAddDestMediaOptions` function (Issue #5167)
377 - IPP Everywhere PPDs now include localizations of printer-specific media types,
378 when available (Issue #5168)
379 - The cups-driverd program incorrectly stopped scanning PPDs as soon as a loop
380 was seen (Issue #5170)
381 - IPP Everywhere PPDs now support IPP job presets (Issue #5179)
382 - IPP Everywhere PPDs now support finishing templates (Issue #5180)
383 - Fixed a journald support bug in the scheduler (Issue #5181)
384 - Fixed PAM module detection and added support for the common PAM definitions
385 (Issue #5185)
386 - The scheduler now substitutes default values for invalid job attributes when
387 running in "relaxed conformance" mode (Issue #5186)
388 - The scheduler did not work with older versions of uClibc (Issue #5188)
389 - The scheduler now generates a strings file for localizing PPD options
390 (Issue #5194)