]> granicus.if.org Git - apache/blob - CHANGES
*) SECURITY: CVE-2014-8109 (cve.mitre.org)
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3   
4   *) SECURITY: CVE-2014-3583 (cve.mitre.org)
5      mod_proxy_fcgi: Fix a potential crash with response headers' size above 
6      8K. [Teguh <chain rop.io>, Yann Ylavic, Jeff Trawick]
7
8   *) SECURITY: CVE-2014-8109 (cve.mitre.org)
9      mod_lua: Fix handling of the Require line when a LuaAuthzProvider is
10      used in multiple Require directives with different arguments.
11      PR57204 [Edward Lu <Chaosed0 gmail.com>]
12
13   *) mod_rewrite: Improve relative substitutions in per-directory/htaccess
14      context for directories found by mod_userdir and mod_alias.  These no
15      loner require RewriteBase to be specified. [Eric Covener]
16
17   *) mod_ssl: Fix recognition of OCSP stapling responses that are encoded
18      improperly or too large.  [Jeff Trawick]
19
20   *) mod_proxy_fcgi, mod_authnz_fcgi: stop reading the response and issue an
21      error when parsing or forwarding the response fails. [Yann Ylavic]
22
23   *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since 
24      r1608202. [Eric Covener]
25  
26   *) core: Support custom ErrorDocuments for HTTP 501 and 414 status codes.
27      PR 57167 [Edward Lu <Chaosed0 gmail.com>]
28
29   *) mod_proxy_connect: Don't issue AH02447 on sockets hangups, let the read
30      determine whether it is a normal close or a real error. PR 57168. [Yann
31      Ylavic]
32
33   *) mod_proxy_wstunnel: abort backend connection on polling error to avoid
34      further processing.  [Yann Ylavic]
35
36   *) mod_buffer: Forward flushed input data immediatly and avoid (unlikely)
37      access to freed memory. [Yann Ylavic, Christophe Jaillet]
38
39   *) mod_proxy: Use the correct server name for SNI in case the backend
40      SSL connection itself is established via a proxy server.
41      PR 57139 [Szabolcs Gyurko <szabolcs gyurko.org>]
42
43   *) mod_ssl: Do not crash when looking up SSL related variables during
44      expression evaluation on non SSL connections. PR 57070 [Ruediger Pluem]
45
46   *) core: Ensure that httpd exits with an error status when the MPM fails
47      to run.  [Yann Ylavic]
48
49   *) apreq: Content-Length header should be always interpreted as a decimal.
50      Leading 0 could be erroneously considered as an octal value. PR 56598.
51      [Chris Card <ctcard hotmail com>]
52   
53   *) mod_proxy: Now allow for 191 character worker names, with non-fatal
54      errors if name is truncated. PR53218. [Jim Jagielski]
55
56   *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
57      for channel bindings.  [Simo Sorce <simo redhat.com>]
58
59   *) mod_proxy_wstunnel: Concurrent websockets messages could be 
60      lost or delayed with ProxyWebsocketAsync enabled.  
61      [Edward Lu <Chaosed0 gmail.com>]
62
63   *) core, mod_info: Add compiled and loaded PCRE versions to version
64      number display.  [Rainer Jung]
65
66   *) mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for
67      internationalization.  [William Rowe]
68
69   *) mpm_winnt: Normalize the error and status messages emitted by service.c,
70      the service control interface for Windows.  [William Rowe]
71   
72   *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
73      is run, instead of waiting until the end of the request. [Eric Covener]
74
75   *) mod_ldap: Be more conservative with the last-used time for
76      LDAPConnectionPoolTTL. PR54587 [Eric Covener]
77
78   *) mod_deflate: Don't fail when flushing inflated data to the user-agent
79      and that coincides with the end of stream ("Zlib error flushing inflate
80      buffer"). PR 56196. [Christoph Fausak <christoph fausak glueckkanja.com>]
81
82   *) mod_proxy: Don't limit the size of the connectable Unix Domain Socket
83      paths. [Christophe Jaillet, Yann Ylavic]
84
85   *) mod_ssl: dump SSL IO/state for the write side of the connection(s),
86      like reads (level TRACE4). [Yann Ylavic]
87
88   *) mod_proxy: Shutdown (eg. close notify) the backend connection before
89      closing. [Yann Ylavic] 
90
91   *) mpm_event[opt]: Send the SSL close notify alert when the KeepAliveTimeout
92      expires. PR54998. [Yann Ylavic] 
93
94   *) mod_ssl: Ensure that the SSL close notify alert is flushed to the client.
95      PR54998. [Tim Kosse <tim.kosse filezilla-project.org>, Yann Ylavic] 
96
97   *) mod_log_config: Add GlobalLog to allow a globally defined log to
98      be inherited by virtual hosts that define a CustomLog.
99      [Edward Lu <Chaosed0 gmail.com>]
100
101   *) MPMs: Support SO_REUSEPORT to create multiple duplicated listener
102      records for scalability. [Yingqi Lu <yingqi.lu@intel.com>,
103      Jeff Trawick, Jim Jagielski]
104
105   *) mod_proxy_html: support automatic detection of doctype and processing
106      of FPIs.  PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
107
108   *) mod_proxy_html: skip documents shorter than 4 bytes
109      PR 56286 [Micha Lenk <micha lenk info>]
110
111   *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
112      when passed to 'connect()'.
113      [Graham Dumpleton <grahamd apache org>]
114
115   *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
116      to resume. PR56333 
117      [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
118
119   *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
120
121   *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
122      processing mode. [Eric Covener]
123
124   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
125      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
126
127   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
128      to be based on arbitrary expressions that do not include the username.
129      [Graham Leggett]
130
131   *) Add the ldap function to the expression API, allowing LDAP filters and
132      distinguished names based on expressions to be escaped correctly to
133      guard against LDAP injection. [Graham Leggett]
134
135   *) Add module mod_ssl_ct, which provides an implementation of Certificate
136      Transparency (RFC 6962) for httpd.  [Jeff Trawick]
137
138   *) mod_proxy: Preserve original request headers even if they differ
139      from the ones to be forwarded to the backend. PR 45387.
140      [Yann Ylavic]
141
142   *) mod_remoteip: Prevent an external proxy from presenting an internal
143      proxy. PR 55962. [Mike Rumph]
144
145   *) mod_ssl: Add hooks to allow other modules to perform processing at
146      several stages of initialization and connection handling.  See
147      mod_ssl_openssl.h.  [Jeff Trawick]
148
149   *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
150      websockets connection as it is being close down. [Eric Covener]
151   
152   *) mod_proxy_wstunnel: Allow the administrator to cap the amount
153      of time a synchronous websockets connection stays idle with 
154      ProxyWebsocketIdleTimeout. [Eric Covener]
155
156   *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding 
157      directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay. 
158      [Eric Covener]
159
160   *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
161      event MPM (trunk-only). [Eric Covener]
162
163   *) mod_proxy_http: Add detach_backend hook (potentially usable
164      in other proxy scheme handlers).  [Jeff Trawick]
165
166   *) mod_deflate: Add DeflateAlterETag to control how the ETag
167      is modified. The 'NoChange' parameter mimics 2.2.x behavior.
168      PR 45023, PR 39727. [Eric Covener]
169
170   *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to 
171      allow spaces in backreferences to be encoded as %20 instead of '+'.
172      [Eric Covener]
173      
174   *) mod_rewrite: Support an optional list of characters to escape in the 
175      argument for the 'B' (escape backreferences) flag. [Eric Covener]
176
177   *) mod_dir: Default to 2.2-like behavior and skip execution when method is
178      neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
179
180   *) mod_rewrite: Rename the handler that does per-directory internal 
181      redirects to "rewrite-redirect-handler" from "redirect-handler" so
182      it is less ambiguous and less likely to be reused. [Eric Covener]
183
184   *) mod_rewrite: Protect against looping with the [N] flag by enforcing a 
185      default limit of 10000 iterations, and allowing each rule to change its
186      limit. [Eric Covener]
187
188   *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
189      [Jeff Trawick]
190
191   *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
192      [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
193
194   *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
195      configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
196      [Jan Kaluza]
197
198   *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
199      to support write completion. [Graham Leggett]
200
201   *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
202      to allow providers to check the ErrorLog argument. [Jan Kaluza]
203
204   *) mod_cgid: Use the servers Timeout for each read from a CGI script,
205      allow override with new CGIDRequestTimeout directive. PR43494
206      [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
207
208   *) core: ensure any abnormal exit is reported to stderr if it's a tty.
209      PR 55670 [Nick Kew]
210
211   *) mod_lua: Let the Inter-VM get/set functions work with a global 
212      shared memory pool instead of a per-process pool. [Daniel Gruno]
213
214   *) ldap: Support ldaps when using the Microsoft LDAP SDK.
215      PR 54626. [Jean-Frederic Clere]
216
217   *) mod_proxy: Add ap_connection_reusable() for checking if a connection
218      is reusable as of this point in processing.  [Jeff Trawick]
219
220   *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
221      to avoid performance problems when subgroups aren't in use. [Eric Covener]
222
223   *) mod_syslog: New module implementing syslog ap_error_log provider.
224      Previously, this code was part of core, now it's in separate module.
225      [Jan Kaluza]
226
227   *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
228      syslog support from core to new mod_syslog. [Jan Kaluza]
229
230   *) mod_status, mod_echo: Fix the display of client addresses.
231      They were truncated to 31 characters which is not enough for IPv6 addresses.
232      PR 54848 [Bernhard Schmidt <berni birkenwald de>]
233
234   *) core: Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.
235      [Jeff Trawick]
236
237   *) mod_unique_id: Use output of the PRNG rather than IP address and
238      pid, avoiding sleep() call and possible DNS issues at startup,
239      plus improving randomness for IPv6-only hosts.
240      [Jan Kaluza <jkaluza redhat.com>]
241
242   *) mod_authnz_ldap: Support primitive LDAP servers that do not accept
243      filters, such as "SDBM-backed LDAP" on z/OS, by allowing a special
244      filter "none" to be specified in AuthLDAPURL. [Eric Covener]
245
246   *) mod_file_cache: mod_file_cache should be able to serve files that
247      haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
248
249   *) core: merge AllowEncodedSlashes from the base configuration into
250      virtual hosts. [Eric Covener]
251
252   *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
253      [Eric Covener]
254
255   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
256      [Eric Covener]
257
258   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
259      been configured with -D Z_PREFIX, which redefines the token "deflate".
260      [Eric Covener]
261
262   *) mod_auth_digest: Use the secret when generating nonces in all cases and
263      not only when AuthName is used in .htaccess files (this change may cause
264      problems if used with round robin load balancers). Don't regenerate the
265      secret on graceful restarts. PR 54637  [Stefan Fritsch]
266
267   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
268      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
269      Reduce memory usage by 48 bytes per request. [Graham Leggett]
270
271   *) core: Stop the HTTP_IN filter from attempting to write error buckets
272      to the output filters, which is bogus in the proxy case. Create a
273      clean mapping from APR codes to HTTP status codes, and use it where
274      needed. [Graham Leggett]
275
276   *) mod_proxy: Ensure network errors detected by the proxy are returned as
277      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
278      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
279
280   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
281      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
282      <alejandro.alvarez.ayllon cern.ch>]
283
284   *) mod_ldap: LDAP connections used for authentication were not respecting
285      LDAPConnectionPoolTimeout.  PR 54587
286
287   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
288
289   *) mod_proxy_html: process parsed comments immediately. 
290      Fixes bug where parsed comments may be lost. [Nick Kew]
291
292   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
293
294   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
295      HTML/XHTML [Nick Kew]
296
297   *) core: Add option to add valgrind support. Use it to reduce false positive
298      warnings in mod_ssl. [Stefan Fritsch]
299
300   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
301      Cache the result of the most recent password hash verification for every
302      keep-alive connection. This saves some expensive calculations.
303      [Stefan Fritsch]
304
305   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
306      MSIE 3. [Stefan Fritsch]
307
308   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
309      conformance or to only log the found problems. [Stefan Fritsch]
310
311   *) core: Correctly parse an IPv6 literal host specification in an absolute
312      URL in the request line. [Stefan Fritsch]
313
314   *) EventOpt MPM
315
316   *) core: Add LogLevelOverride directive that allows to override the
317      loglevel for clients from certain IPs. This also works for things
318      like the SSL handshake where <If> LogLevel ... </If> is evaluated
319      too late. [Stefan Fritsch]
320
321   *) core: Add new directive Warning to issue warnings from a configuration
322      file. Both Warning and Error now generate a timestamped log message.
323      [Fabien Coelho] 
324
325   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
326      variables. [Stefan Fritsch]
327
328   *) core: New directive RegisterHttpMethod for registering non-standard
329      HTTP methods. [Stefan Fritsch]
330
331   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
332      support. [Stefan Fritsch]
333
334   *) mod_allowhandlers: New module to forbid specific handlers for specific
335      directories. [Stefan Fritsch]
336
337   *) mod_systemd: New module, for integration with systemd on Linux.
338      [Jan Kaluza <jkaluza redhat.com>]
339
340   *) WinNT MPM: Store pid and generation for each thread in scoreboard
341      to allow tracking of threads from exiting children via mod_status
342      or other such mechanisms.  [Jeff Trawick]
343
344   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
345      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
346      - core: the scoreboard (ScoreBoardFile), pid file (PidFile), and
347        mutexes (Mutex)
348      - mod_cache: thundering herd lock directory
349      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
350      - mod_ldap: shared memory cache
351      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
352      [Jeff Trawick]
353
354   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
355      setuid/setgid capability bits rather than a setuid root binary.
356      [Joe Orton]
357
358   *) suexec: Add support for logging to syslog as an alternative to logging
359      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
360      [Joe Orton]
361
362   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
363      [Matthew Steele <mdsteele google.com>]
364
365   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
366      be compiled by the build compiler instead of the host compiler.
367      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
368      PR 51257. [Guenter Knauf]
369
370   *) core: In maintainer mode, replace apr_palloc with a version that
371      initializes the allocated memory with non-zero values, except if
372      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
373
374   *) mod_policy: Add a new testing module to help server administrators
375      enforce a configurable level of protocol compliance on their
376      servers and application servers behind theirs. [Graham Leggett]
377
378   *) mod_firehose: Add a new debugging module able to record traffic
379      passing through the server in such a way that connections and/or
380      requests be reconstructed and replayed. [Graham Leggett]
381
382   *) mod_noloris
383
384   *) APREQ
385
386   *) Simple MPM
387
388   *) mod_serf
389
390   [Apache 2.5.0-dev includes those bug fixes and changes with the
391    Apache 2.4.xx tree as documented below, except as noted.]
392
393 Changes with Apache 2.4.x and later:
394
395   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
396
397 Changes with Apache 2.2.x and later:
398
399   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
400
401 Changes with Apache 2.0.x and later:
402
403   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
404