Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump next from 6.1.2 to 7.0.2 #2508

Merged
merged 2 commits into from
Jan 3, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Dec 11, 2018

Bumps next from 6.1.2 to 7.0.2.

Release notes

Sourced from next's releases.

7.0.2

Release Notes

This upgrade is completely backwards compatible and recommended for all users on version 7.0.0 and 7.0.1
For future security related communications of our OSS projects, please join this mailing list.

Next.js has just been audited by one of the top security firms in the world. They found a XSS vulnerability on /_error pages (404, 500), where an attacker could craft a request that executes client side code on these particular pages. As a reminder, websites that follow OWASP security guidelines should see minimized impact from this attack vector.

How to Upgrade

  • We have released patch versions for both the stable and canary channels of Next.js.
  • The following versions fix this bug and include precautions to avoid
    similar problems in the future
  • Run npm install next@latest --save
  • When using the canary release channel use npm install next@canary --save

Impact

  • Affected: Users of Next.js using version 7.0.0 and 7.0.1
  • Not affected: Deployments on https://now.sh (like https://zeit.co) are mitigated.
  • Not affected: Static deployments via next export

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

How to Assess Impact

If you think sensitive code or data could have been exposed, please filter logs of affected sites by /' with a 404 response.

What is Being Done

As Next.js has grown in popularity, it has received the attention of security researchers and auditors. We are thankful to Jessica Stokes from Buildkite, lvh and Jeremy Rauch from Latacora for their investigation and discovery of the original bug and subsequent responsible disclosure.

Next.js 7.0.0 included a bugfix for the inline script generation code, it previously had a condition that would always return false, causing the error page to not be initialized. The generated code passed the pathname through the htmlescape module to escape arbitrary HTML characters. However this module does not escape single quotes ('). Meaning that an attacker could break out of the code block by including extra single quotes in the pathname. In Next.js 7.0.2 we have completely removed the user provided pathname value from the inline script tag. Regression tests for this attack were added to the security test suite.

  • We have notified known Next.js users in advance of this publication.
  • A public CVE was released
  • If you want to stay on top of our security related news impacting Next.js or other ZEIT projects, please join this mailing list.
  • We encourage responsible disclosure of future issues. Please email us at security@zeit.co. We are actively monitoring this mailbox.

v7.0.2-canary.41

Patches

  • Add tsc type checking: #5826
  • Mark react/react-dom as external when in lambdas mode: #5828

v7.0.2-canary.40

Patches

  • Remove console.log after verifying the correct files are ignored: 1a5fc941ce53a3e192a388b0caa65922078e96e4
... (truncated)
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 cancel merge will cancel a previously requested merge
  • @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:

  • 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 dependabot-preview bot added the dependencies Related to dependency updates label Dec 11, 2018
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from d60bd8d to bb7676f Compare December 11, 2018 15:45
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 11, 2018 15:45 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from bb7676f to f067e37 Compare December 11, 2018 20:57
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 11, 2018 20:57 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from f067e37 to 254c968 Compare December 11, 2018 21:04
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 11, 2018 21:05 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 254c968 to bea18f5 Compare December 11, 2018 21:38
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 11, 2018 21:38 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from bea18f5 to 86533ad Compare December 12, 2018 19:31
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 12, 2018 19:32 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 86533ad to 81beba2 Compare December 13, 2018 17:43
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 13, 2018 17:43 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 81beba2 to 235d6f9 Compare December 13, 2018 19:10
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 13, 2018 19:10 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 235d6f9 to 17e38e5 Compare December 13, 2018 19:16
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 13, 2018 19:17 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 17e38e5 to 4a26b99 Compare December 16, 2018 20:49
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 16, 2018 20:50 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 4a26b99 to 1f5326b Compare December 16, 2018 20:56
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 16, 2018 20:56 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 1f5326b to 47b17a8 Compare December 17, 2018 17:54
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 17, 2018 17:54 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 47b17a8 to f3162c5 Compare December 18, 2018 21:48
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 18, 2018 21:49 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from f3162c5 to 452e924 Compare December 19, 2018 17:32
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 19, 2018 17:33 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 452e924 to 018551d Compare December 19, 2018 22:51
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 19, 2018 22:51 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 018551d to 0574413 Compare December 20, 2018 20:23
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 20, 2018 20:23 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 0574413 to 45ce2aa Compare December 20, 2018 20:26
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 20, 2018 20:27 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 45ce2aa to c7f2355 Compare December 21, 2018 20:55
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 21, 2018 20:55 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from c7f2355 to be0998e Compare December 24, 2018 02:51
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 24, 2018 02:51 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from be0998e to 71cb1fe Compare December 24, 2018 03:10
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 24, 2018 03:10 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from 71cb1fe to ad28ac0 Compare December 26, 2018 22:05
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 26, 2018 22:05 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from ad28ac0 to c4875cb Compare December 26, 2018 22:20
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 26, 2018 22:20 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/next-7.0.2 branch from c4875cb to ff0d911 Compare December 30, 2018 21:50
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2508 December 30, 2018 21:50 Inactive
Bumps [next](https://github.com/zeit/next.js) from 6.1.2 to 7.0.2.
- [Release notes](https://github.com/zeit/next.js/releases)
- [Commits](vercel/next.js@6.1.2...7.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@paulmelnikow paulmelnikow requested a deployment to shields-staging-pr-2508 January 3, 2019 14:50 Abandoned
@paulmelnikow paulmelnikow merged commit dfe2b1c into master Jan 3, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/next-7.0.2 branch January 3, 2019 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related to dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants