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

Bump comrak from 0.16.0 to 0.17.1 #234

Merged
merged 1 commit into from Mar 28, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2023

Bumps comrak from 0.16.0 to 0.17.1.

Release notes

Sourced from comrak's releases.

0.17.1

What's Changed

  • Fix some panics found by trivial fuzzing.

Full Changelog: kivikakk/comrak@0.17.0...0.17.1

0.17.0

What's Changed

This contains some breaking changes from an API point of view, but output is largely unchanged. Spec compliance is improved, and benchmark runtime is over 20% faster.

  • SECURITY: GHSA-8hqf-xjwp-p67v / Quadratic runtime when parsing Markdown (GHSL-2023-047)
    • A variety of quadratic runtime issues that could lead to DoS were reported and addressed.
    • We replaced pest with an re2c-based scanner.
  • SECURITY: GHSA-xxmq-4vph-956w / Excessive output when parsing Markdown (GHSL-2023-048)
    • Reference output is limited to 100Kb.
  • SECURITY: GHSA-5r3x-p7xx-x6q5 / Attacker controlled data in AST nodes is not validated (GHSL-2023-049)
    • AST nodes no longer store raw Vec<u8>s, and instead store Strings.
  • Various API points were cleaned up.
  • Comrak now targets Rust 2018.
  • Add footnote attributes that mirror cmark-gfm by @​digitalmoksha in kivikakk/comrak#273
  • Add support for full_info_string render option by @​digitalmoksha in kivikakk/comrak#276
  • chore: improve debug performance by @​conradludgate in kivikakk/comrak#283

Many thanks to @​philipturnbull and @​darakian of the GitHub Security Lab for bringing these issues to my attention and detailing the reproduction steps for each case.

New Contributors

Full Changelog: kivikakk/comrak@0.16.0...0.17.0

Changelog

Sourced from comrak's changelog.

0.17.1

  • Fix some panics found by trivial fuzzing.

Missed from the 0.17.0 changelog:

0.17.0

This contains some breaking changes from an API point of view, but output is largely unchanged. Spec compliance is improved, and benchmark runtime is over 20% faster.

  • SECURITY: GHSA-8hqf-xjwp-p67v / Quadratic runtime when parsing Markdown (GHSL-2023-047)
    • GHSA-8hqf-xjwp-p67v
    • A variety of quadratic runtime issues that could lead to DoS were reported and addressed.
    • We replaced pest with an re2c-based scanner.
  • SECURITY: GHSA-xxmq-4vph-956w / Excessive output when parsing Markdown (GHSL-2023-048)
  • SECURITY: GHSA-5r3x-p7xx-x6q5 / Attacker controlled data in AST nodes is not validated (GHSL-2023-049)
  • Various API points were cleaned up.
  • Comrak now targets Rust 2018.

Many thanks to @​philipturnbull and @​darakian of the GitHub Security Lab for bringing these issues to my attention and detailing the reproduction steps for each case.

Commits
  • 2771eb4 0.17.1
  • 1e05b8c Cargo.toml: update tempfile, drop remove_dir_all
  • 5837332 Merge pull request #287 from kivikakk/fuzzing
  • 76e9cef fuzz: fuzz with all options, and also fuzz a variety of options
  • a86f667 scanners: special care required with EOF match
  • 3c45d59 inlines: use peek_char_n here
  • 59a312b fuzz: start with one case
  • 0ce75b1 README: update "other libraries"
  • 60f0949 README, COPYING, etc.
  • 9b7759c changelog: three missed attributions
  • 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)

Bumps [comrak](https://github.com/kivikakk/comrak) from 0.16.0 to 0.17.1.
- [Release notes](https://github.com/kivikakk/comrak/releases)
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt)
- [Commits](kivikakk/comrak@0.16.0...0.17.1)

---
updated-dependencies:
- dependency-name: comrak
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 28, 2023
@github-actions github-actions bot merged commit e2c877b into main Mar 28, 2023
1 of 4 checks passed
@github-actions github-actions bot deleted the dependabot/cargo/comrak-0.17.1 branch March 28, 2023 10:12
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants