HeroicEric / opencast-api

4 stars 0 forks source link

[Security] Bump phoenix from 1.2.0 to 1.4.6 #48

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps phoenix from 1.2.0 to 1.4.6. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The Elixir Advisory Database](https://github.com/dependabot/elixir-security-advisories/blob/master/packages/phoenix/2017-03-14.yml).* > **Arbitrary URL Redirect** > The Phoenix team designed Phoenix.Controller.redirect/2 to protect against > redirects allowing user input to redirect to an external URL where your > application code otherwise assumes a local path redirect. This is why the > :to option is used for “local” URL redirects and why you must pass the > :external option to intentionally allow external URLs to be redirected to. > > It has been disclosed that carefully crafted user input may be treated by some > browsers as an external URL. An attacker can use this vulnerability to aid in > social engineering attacks. The most common use would be to create highly > believable phishing attacks. > > For example, the following user input would pass local URL validation, > but be treated by Chrome and Firefox as external URLs: > http://localhost:4000/?redirect=/\nexample.com > > Not all browsers are affected, but latest Chrome and Firefox will issue a get > request for example.com and successfully redirect externally. > > Patched versions: >= 1.3.0-rc.1; \~> 1.2.3; \~> 1.1.7; \~> 1.0.5 > Unaffected versions: none
Release notes *Sourced from [phoenix's releases](https://github.com/phoenixframework/phoenix/releases).* > ## v1.3.0-rc.0 > For those interested in a detailed overview of the changes and design decisions, check out my LonestarElixir keynote that just went live: https://www.youtube.com/watch?v=tMO28ar0lW8 > > To use the new `phx.new` project generator, you can install the archive with the following command: > > ``` > $ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez > ``` > > As always, we have an upgrade guide with detailed instructions for migrating from 1.2.x projects: https://gist.github.com/chrismccord/71ab10d433c98b714b75c886eff17357 > > Full changelog: > > ## 1.3.0-rc.0 (2017-03-01) > - Enhancements > - [Generator] Add new `phx.new`, `phx.new.web`, `phx.new.ecto` > project generators with improved application structure and support for > umbrella applications > - [Generator] Add new `phx.gen.html` and `phx.gen.json` resource > generators with improved isolation of API boundaries > - [Controller] Add `current_path` and `current_url` to generate a > connection's path and url > - [Controller] Introduce `action_fallback` to registers a plug to > call as a fallback to the controller action > - [Controller] Wrap exceptions at controller to maintain connection > state > - [Channel] Add ability to configure channel event logging with > `:log_join` and `:log_handle_in` options > - [Channel] Warn on unhandled `handle_info/2` messages > - [Channel] Channels now distinguish from graceful exits and > application restarts, allowing clients to enter error mode and > reconnected after cold deploys. > - [Router] document `match` support for matching on any http method > with the special `:*` argument > - [ConnTest] Add `redirected_params/1` to return the named params > matched in the router for the redirected URL > - Deprecations > - [Generator] All `phoenix.*` mix tasks have been deprecated in > favor of new `phx.*` tasks > - JavaScript client enhancements > - Add ability to pass `encode` and `decode` functions to socket > constructor for custom encoding and decoding of outgoing and incoming > messages. > - Detect heartbeat timeouts on client to handle ungraceful > connection loss for faster socket error detection > - Add support for AMD/RequireJS > > ## v1.2.1 > - Enhancements > - [Router] Improve errors for invalid route paths > ... (truncated)
Changelog *Sourced from [phoenix's changelog](https://github.com/phoenixframework/phoenix/blob/master/CHANGELOG.md).* > # Changelog for v1.4 > > ## New feature! > > ## 1.5.0-dev > > ### Enhancements > > * [Endpoint] Allow named params to be used when defining socket paths > > ### Bug Fixes > > ### Deprecations > > ### phx.new installer > > ### JavaScript client > > * Fix `window` reference causing phoenix.js errors in environments without global window object. > > ## v1.4 > > The CHANGELOG for v1.4 releases can be found [in the v1.4 branch](https://github.com/phoenixframework/phoenix/blob/v1.4/CHANGELOG.md).
Commits - See full diff in [compare view](https://github.com/phoenixframework/phoenix/commits)


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Looks like phoenix is up-to-date now, so this is no longer needed.