Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Conversation

@dependabot-preview
Copy link
Contributor

Bumps mongoose from 4.13.21 to 5.9.24. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects mongoose Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute is ignored. For example, adding "_bsontype":"a" can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's failure to work around this _bsontype special case that exists in older versions of the bson parser (aka the mongodb/js-bson project).

Affected versions: < 5.7.5

Changelog

Sourced from mongoose's changelog.

5.9.24 / 2020-07-13

  • fix(connection): respect connection-level bufferCommands option if mongoose.connect() is called after mongoose.model() #9179
  • fix(document): clear out priorDoc after overwriting single nested subdoc so changes after overwrite get persisted correctly #9208
  • fix(connection): dont overwrite user-specified bufferMaxEntries when setting bufferCommands #9218
  • fix(model): allow passing projection to Model.hydrate() #9209
  • fix(schema+document): support adding null to schema boolean's convertToFalse set #9223
  • docs(model): make find and findOne() examples use async/await and clarify find({}) is find all #9210
Commits
  • 02bef0e chore: release 5.9.24
  • 415ba3d fix(schema+document): support adding null to schema boolean's `convertToFal...
  • 4de0417 docs(model): make find and findOne() examples use async/await and clarify...
  • 423acb4 fix(connection): dont overwrite user-specified bufferMaxEntries when settin...
  • c2801f7 Merge branch '4.x'
  • 7b11d70 chore: release 4.13.21
  • 9a23c42 fix(connection): respect connection-level bufferCommands option if `mongoos...
  • 35869a3 fix(document): clear out priorDoc after overwriting single nested subdoc so...
  • bd0d7b9 test(document): repro #9208
  • 386585e fix(model): allow passing projection to Model.hydrate()
  • Additional commits viewable in compare view

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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
  • 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)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 4.13.21 to 5.9.24. **This update includes a security fix.**
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md)
- [Commits](Automattic/mongoose@4.13.21...5.9.24)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jul 14, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #152.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/mongoose-5.9.24 branch July 20, 2020 06:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants