Skip to content

Commit

Permalink
Added security announcement to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Oct 31, 2013
1 parent 4de8f89 commit dcc7227
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ This is the fifth maintenance release for the 2.2 series.

DD MMM YYYY

### SECURITY UPDATES IN 2.2.5

An issue with `Zend\Http\PhpEnvironment\RemoteAddress` was reported in
[#5374](https://github.com/zendframework/zf2/pull/5374). Essentially, the class
was not checking if `$_SERVER['REMOTE_ADDR']` was one of the trusted proxies
configured, and as a result, `getIpAddressFromProxy()` could return an untrusted
IP address.

The class was updated to check if `$_SERVER['REMOTE_ADDR']` is in the list of
trusted proxies, and, if so, will return that value immediately before
consulting the values in the `X-Forwarded-For` header.

If you use the `RemoteAddr` `Zend\Session` validator, and are configuring
trusted proxies, we recommend updating to 2.2.5 or later immediately.

### UPDATES IN 2.2.5

- [#5343](https://github.com/zendframework/zf2/pull/5343) removed the
Expand Down

0 comments on commit dcc7227

Please sign in to comment.