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 serde_yaml from 0.7.3 to 0.8.4 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps serde_yaml from 0.7.3 to 0.8.4. This update includes a security fix.

Vulnerabilities fixed

Sourced from The RustSec Advisory Database.

Uncontrolled recursion leads to abort in deserialization Affected versions of this crate did not properly check for recursion while deserializing aliases.

This allows an attacker to make a YAML file with an alias referring to itself causing an abort.

The flaw was corrected by checking the recursion depth.

Patched versions: >= 0.8.4 Unaffected versions: < 0.6.0-rc1

Release notes

Sourced from serde_yaml's releases.

0.8.4

  • Limit recursion to 128 levels to avoid stack overflows (#105)

0.8.3

  • Fix possible panic during deserialization (#101)

0.8.2

  • Documentation improvements

0.8.1

  • Documentation improvements

0.8.0

  • Reduce compile time of Deserialize impls by instantiating fewer Visitor methods when we know the type of data expected (#96)

    This is potentially a breaking change for some handwritten Deserialize impls. For example a Deserialize impl that invokes Deserializer::deserialize_string would no longer deserialize successfully from anything but a string in the input data, even if the Visitor impl otherwise supports types other than string. Deserialize impls that support deserializing from multiple different Serde data types need to use Deserializer::deserialize_any instead.

  • Preserve integers as integers when serialized by serde_yaml::to_value (#98)

0.7.5

  • More efficient implementation when deserializing ignored fields

0.7.4

  • More robust handling of YAML numbers (#88, thanks @frewsxcv)
  • Drop dependency on num-traits
Commits
  • c82357a Release 0.8.4
  • 800f477 Don't yet use tool attrs because they are not stable
  • c52f1cf Fix the recursion limit messages in tests
  • 41d5823 Merge pull request #105 from xfix/prevent-too-deep-recursion
  • 5911699 Simplify travis setup
  • 7ed76cb Bump required version to rustc 1.17
  • e73d282 Remove unnecessary quoting around boolean keys
  • b93aff6 Prevent too deep recursion
  • 49e1e6f Release 0.8.3
  • 8fa3e2c Merge pull request #102 from dtolnay/invalid
  • 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)
  • 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 [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.7.3 to 0.8.4. **This update includes a security fix.**
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](dtolnay/serde-yaml@0.7.3...0.8.4)

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 10, 2020
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