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 rdoc from 3.12 to 6.3.1 #24

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

Conversation

dependabot-preview[bot]
Copy link

Bumps rdoc from 3.12 to 6.3.1. This update includes security fixes.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

RDoc OS command injection vulnerability RDoc used to call Kernel#open to open a local file. If a Ruby project has a file whose name starts with | and ends with tags, the command following the pipe character is executed. A malicious Ruby project could exploit it to run an arbitrary command execution against a user who attempts to run rdoc command.

Patched versions: >= 6.3.1 Unaffected versions: none

Sourced from The Ruby Advisory Database.

RDoc 2.3.0 through 3.12 XSS Exploit Doc documentation generated by rdoc 2.3.0 through rdoc 3.12 and prereleases up to rdoc 4.0.0.preview2.1 are vulnerable to an XSS exploit. This exploit may lead to cookie disclosure to third parties.

The exploit exists in darkfish.js which is copied from the RDoc install location to the generated documentation.

RDoc is a static documentation generation tool. Patching the library itself is insufficient to correct this exploit.

This exploit was discovered by Evgeny Ermakov .

Patched versions: ~> 3.9.5; ~> 3.12.1; >= 4.0 Unaffected versions: none

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects rdoc darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby, does not properly generate documents, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL.

Affected versions: >= 2.3.0, < 3.12.1

Changelog

Sourced from rdoc's changelog.

=== 5.1.0 / 2017-02-24

  • Bug fixes

    • Fix an issue that rdoc fails when running on Windows with RUBYOPT=-U. PR #430 by Toshihiko Ichida
  • Minor enhancements

    • Parse ruby 2.1 def. PR #436 by Akira Matsuda.
    • Suppress warnings in eval. PR #440 by Nobuyoshi Nakada.

=== 5.0.0 / 2016-11-05

  • Major enhancements

    • Cleanup deprecated code targeted Ruby 1.8
  • Bug fixes

    • Ensure badge data is included in result of JsonIndex template.
    • Ensure items in the nil section are displayed in HTML output. Issue #399 by Daniel Svensson.
    • Parse rb_intern_const correctly in C. PR #381 by Sho Hashimoto.
    • Fix broken assets caused by #335 when serving ri. PR #360 by Alex Wood.
    • Don't try to parse svg files. Issue #350 by Sigurd Svela.
  • Minor enhancements

    • Improve class name expansion/resolution in ri. PR #400 by NARUSE, Yui
    • Improve performance of document generation. PR #397 by Yusuke Endoh.

=== 4.3.0 / 2016-11-04

  • Minor enhancements
    • Removed json dependency for Ruby 2.4.0
    • End to support Ruby 1.8.x

=== 4.2.2 / 2016-02-09

  • Bug fixes
    • Include lib/rdoc/generator/pot/* in built gem

=== 4.2.1 / 2015-12-22

=== 4.2.0 / 2014-12-06

... (truncated)

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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [rdoc](https://github.com/ruby/rdoc) from 3.12 to 6.3.1. **This update includes security fixes.**
- [Release notes](https://github.com/ruby/rdoc/releases)
- [Changelog](https://github.com/ruby/rdoc/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rdoc/commits)

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 4, 2021
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