File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ PHP NEWS
25
25
. Fix bug #64498 ($phar->buildFromDirectory can't compress file with an accent
26
26
in its name). (PR #588)
27
27
28
- ?? ??? 2014, PHP 5.4.28
28
+ 01 May 2014, PHP 5.4.28
29
29
30
30
- Core:
31
31
. Fixed bug #61019 (Out of memory on command stream_get_contents). (Mike)
@@ -55,6 +55,8 @@ PHP NEWS
55
55
56
56
- FPM:
57
57
. Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf).
58
+ . Fixed bug #67060 (sapi/fpm: possible privilege escalation due to insecure
59
+ default configuration) (CVE-2014-0185). (Stas)
58
60
59
61
- JSON:
60
62
. Fixed bug #66021 (Blank line inside empty array/object when
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ int fpm_unix_resolve_socket_premissions(struct fpm_worker_pool_s *wp) /* {{{ */
35
35
/* uninitialized */
36
36
wp -> socket_uid = -1 ;
37
37
wp -> socket_gid = -1 ;
38
- wp -> socket_mode = 0666 ;
38
+ wp -> socket_mode = 0660 ;
39
39
40
40
if (!c ) {
41
41
return 0 ;
Original file line number Diff line number Diff line change @@ -166,10 +166,10 @@ listen = 127.0.0.1:9000
166
166
; permissions must be set in order to allow connections from a web server. Many
167
167
; BSD-derived systems allow connections regardless of permissions.
168
168
; Default Values: user and group are set as the running user
169
- ; mode is set to 0666
169
+ ; mode is set to 0660
170
170
;listen.owner = @php_fpm_user@
171
171
;listen.group = @php_fpm_group@
172
- ;listen.mode = 0666
172
+ ;listen.mode = 0660
173
173
174
174
; List of ipv4 addresses of FastCGI clients which are allowed to connect.
175
175
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
You can’t perform that action at this time.
0 commit comments