Skip to content

[Security] Bump msgpack5 from 4.2.1 to 4.5.1#439

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/msgpack5-4.5.1
Open

[Security] Bump msgpack5 from 4.2.1 to 4.5.1#439
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/msgpack5-4.5.1

Conversation

@dependabot-preview
Copy link
Copy Markdown

Bumps msgpack5 from 4.2.1 to 4.5.1. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Prototype poisoning

Impact

The issue is as follows: when msgpack5 decodes a map containing a key "__proto__", it assigns the decoded value to __proto__. As you are no doubt aware, Object.prototype.__proto__ is an accessor property for the receiver's prototype. If the value corresponding to the key __proto__ decodes to an object or null, msgpack5 sets the decoded object's prototype to that value.

An attacker who can submit crafted MessagePack data to a service can use this to produce values that appear to be of other types; may have unexpected prototype properties and methods (for example length, numeric properties, and push et al if __proto__'s value decodes to an Array); and/or may throw unexpected exceptions when used (for example if the __proto__ value decodes to a Map or Date). Other unexpected behavior might be produced for other types.

There is no effect on the global prototype.

An example:

... (truncated)

Affected versions: >= 4.0.0 < 4.5.1

Release notes

Sourced from msgpack5's releases.

v4.5.1

fix: prevent object prototype poisoning #99

v4.5.0

  • Restored previous v4.2.1 as semver-major commits landed

v4.4.0

📚 PR:

  • implement Timestamp96 (#88)

v4.3.0

  • Handle NaN (#75)
  • Refactoting of decoder for better maintainability (#76)
  • Improve internals and add some features (#78)
  • ci: use gh-actions (#87)
  • encode date is null fix (#85)
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 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)
  • 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)

Bumps [msgpack5](https://github.com/mcollina/msgpack5) from 4.2.1 to 4.5.1. **This update includes a security fix.**
- [Release notes](https://github.com/mcollina/msgpack5/releases)
- [Commits](https://github.com/mcollina/msgpack5/commits/v4.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot added dependencies security Pull requests that address a security vulnerability labels Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants