projecttacoma / cqm-execution

NPM module for calculating eCQMs (electronic clinical quality measures) written in CQL (clinical quality language).
Apache License 2.0
10 stars 2 forks source link

[Security] Bump mongoose from 5.6.9 to 5.9.17 #170

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps mongoose from 5.6.9 to 5.9.17. 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.17 / 2020-06-02

  • fix(document): avoid tracking changes like splice() on slice()-ed arrays #9011
  • fix(populate): make populating a nested path a no-op #9073
  • fix(document): clear nested cast errors when overwriting an array path #9080
  • fix: upgrade mongodb to v3.5.8 #9069 AbdelrahmanHafez
  • docs(document): add validateModifiedOnly to Document#save(), Document#validateSync() and Document#validate() #9078 AbdelrahmanHafez
  • docs(faq): fix typo #9075 tigransimonyan
  • docs: document all parameters to .debug #9029 dandv
  • docs: fix property value in Getters example #9061 ismet

5.9.16 / 2020-05-25

  • perf(error): convert errors to classes extending Error for lower CPU overhead #9021 zbjornson
  • fix(query): throw CastError if filter $and, $or, $nor contain non-object values #8948
  • fix(bulkwrite): cast filter & update to schema after applying timestamps #9030 AbdelrahmanHafez
  • fix(document): don't overwrite defaults with undefined keys in nested documents #9039 vitorhnn
  • fix(discriminator): remove discriminator schema nested paths pulled from base schema underneath a mixed path in discriminator schema #9042
  • fix(model): make syncIndexes() not drop index if all user-specified collation options are the same #8994
  • fix(document): make internal $__.scope property a symbol instead to work around a bug with fast-safe-stringify #8955
  • docs: model.findByIdAndUpdate() 'new' param fix #9026 dandv

5.9.15 / 2020-05-18

  • fix(schema): treat creating dotted path with no parent as creating a nested path #9020
  • fix(documentarray): make sure you can call unshift() after map() #9012 philippejer
  • fix(model): cast bulkwrite according to discriminator schema if discriminator key is present #8982 AbdelrahmanHafez
  • fix(schema): remove db from reserved keywords #8940
  • fix(populate): treat populating a doc array that doesn't have a ref as a no-op #8946
  • fix(timestamps): set createdAt and updatedAt on doubly nested subdocs when upserting #8894
  • fix(model): allow POJOs as schemas for model.discriminator(...) #8991 AbdelrahmanHafez
  • fix(model): report insertedDocs on insertMany() errors #8938
  • fix(model): ensure consistent writeErrors property on insertMany error with ordered: false, even if only one op failed #8938
  • docs: add anchor tag to strictQuery and strict #9014 AbdelrahmanHafez
  • docs(faq): remove faq ipv6 #9004
  • docs: add note about throwing error only after validation and fix broken reference to api/CastError #8993 AbdelrahmanHafez
  • docs: fix typos in documents.pug #9005 dandv

5.9.14 / 2020-05-13

  • fix(cursor): add index as second parameter to eachAsync callback #8972 AbdelrahmanHafez
  • fix(query): cast filter according to discriminator schema if discriminator key in filter #8881
  • fix(model): fix throwing error when populating virtual path defined on child discriminator #8924 AbdelrahmanHafez
  • fix(errors): handle case when user has make Error.prototype.toJSON read only #8986 osher
  • fix(model): add kind to cast errors thrown by query execution #8953 AbdelrahmanHafez
  • fix(update): use child schema strict on single nested updates if useNestedStrict not set #8922
  • docs(model): improve save() docs #8956 AbdelrahmanHafez
  • docs: add immutable type to Schema Types #8987 Andrew5569
  • docs: sort schema reserved keys in documentation #8966 AbdelrahmanHafez
... (truncated)
Commits
  • e45786f chore: release 5.9.17
  • cd9f9a1 Merge pull request #9078 from AbdelrahmanHafez/gh-9070
  • b4e9fd3 Merge pull request #9075 from tigransimonyan/patch-1
  • 4704f35 Merge pull request #9069 from AbdelrahmanHafez/patch-7
  • 6cb1c92 style: fix lint
  • ec8e87e fix(populate): make populating a nested path a no-op
  • c52ce6c test(populate): repro #9073
  • 421776c fix(document): avoid tracking changes like splice() on slice()-ed arrays
  • 863490b test(document): repro #9011
  • e70b054 fix(document): clear nested cast errors when overwriting an array path
  • 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
codecov-commenter commented 4 years ago

Codecov Report

Merging #170 into 2019-standards-update will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@                  Coverage Diff                   @@
##           2019-standards-update     #170   +/-   ##
======================================================
  Coverage                  87.11%   87.11%           
======================================================
  Files                          6        6           
  Lines                        706      706           
  Branches                     212      212           
======================================================
  Hits                         615      615           
  Misses                        91       91           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d915a03...09f6fdf. Read the comment docs.

dependabot-preview[bot] commented 4 years ago

Superseded by #171.