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

[Security] Bump bson from 1.0.4 to 1.1.4 #11

Closed

Conversation

dependabot-preview[bot]
Copy link

Bumps bson from 1.0.4 to 1.1.4. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

High severity vulnerability that affects bson The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a long untrusted string.

Affected versions: >= 0.5.0 < 1.0.5

Release notes

Sourced from bson's releases.

v1.1.4

The MongoDB Node.js team is pleased to announce version 1.1.4 of the bson module!

This patch release resolves an issue with BSON serialization with invalid _bsontype, originally reported by @xiaofen9. MongoDB will be issuing a CVE for this vulnerability, and we recommend that all users pin their version of the bson module to 1.1.4 or higher.

Release Notes

Bug

  • [NODE-2514] - BSON serialization ignores unknown _bsontype
Changelog

Sourced from bson's changelog.

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.0.4 (2020-03-26)

Bug Fixes

  • improve EJSON generation for previously skipped edge cases (30f5a8f)
  • only upgrade symbol to string if promoteValues is true (067a7ba)

4.0.3 (2020-01-09)

Bug Fixes

  • support Number object in Int32 and Double constructors (fe3f0dc)
  • Timestamp: make sure timestamp is always unsigned (36b2d43)

4.0.2 (2019-03-08)

Bug Fixes

  • buffer: don't use deprecated Buffer constructors (7bb9c57)
  • Buffer: import buffer for binary, decimal128, and fnv1a (6be7b8d)
  • ejson: enable serialization of legacy ObjectID (ba98ccb), closes #303
  • ejson: support array for replacer parameter in EJSON.stringify (9f43809), closes #303 #302 #303
  • ejson-serialize: prevent double serialization for nested documents (ab790c9), closes #303
  • object-id: correct serialization of old ObjectID types (8d57a8c)
  • timestamp: getTimestamp support times beyond 2038 (a0820d5)
  • 4.x-1.x interop (incl. ObjectID _bsontype) (f4b16d9)

4.0.1 (2018-12-06)

Bug Fixes

  • object-id: correct serialization of old ObjectID types (8d57a8c)
... (truncated)
Commits
  • 6e782da 1.1.4
  • 3809c13 fix: throw if invalid _bsontype is detected
  • e4de7b5 1.1.3
  • 8de4140 Revert "fix(_bsontype): only check bsontype if it is a prototype member."
  • 179e1ed 1.1.2
  • dd8a349 fix(_bsontype): only check bsontype if it is a prototype member.
  • 3142508 1.1.1
  • 8980296 chore: update browser_build
  • 24aefba feat: replace new Buffer with modern versions
  • 35beb90 chore: update package-lock.json
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by mbroadst, a new releaser for bson since your current version.


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 [bson](https://github.com/mongodb/js-bson) from 1.0.4 to 1.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/mongodb/js-bson/releases)
- [Changelog](https://github.com/mongodb/js-bson/blob/master/HISTORY.md)
- [Commits](mongodb/js-bson@V1.0.4...v1.1.4)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels May 23, 2020
@dependabot-preview
Copy link
Author

Superseded by #38.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/bson-1.1.4 branch August 12, 2020 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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