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] Update yard: 0.9.16 → 0.9.20 (minor) #50

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

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Jul 12, 2019


Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!



🚨 Your version of yard has known security vulnerabilities 🚨

Advisory: CVE-2019-1020001
Disclosed: July 02, 2019
URL: https://github.com/lsegal/yard/security/advisories/GHSA-xfhh-rx56-rxcr

Arbitrary path traversal and file access via `yard server`

A path traversal vulnerability was discovered in YARD <= 0.9.19 when using
yard server to serve documentation. This bug would allow unsanitized HTTP
requests to access arbitrary files on the machine of a yard server host under
certain conditions.

The issue is resolved in v0.9.20 and later.


🚨 We recommend to merge and deploy this update as soon as possible! 🚨

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

↗️ yard (indirect, 0.9.16 → 0.9.20) · Repo · Changelog

Release Notes

0.9.20

  • Fix parsing of stringified Symbols in Ruby source (#1256).
  • Fix path traversal vulnerability in yard server. This bug would allow
    unsanitized HTTP requests to access arbitrary files on the machine of a
    yard server host under certain conditions. Thanks to CuongMX from
    Viettel Cyber Security for discovering this vulnerability.

0.9.19

  • Fixed bug in browser back button (#1071, #1228)
  • Fixed handling of ArgumentError in ExtraFileObject (#1198)
  • Fixed double return tag displaying on boolean methods (#1226)
  • Removed unused Module#namespace_name function (#1229)
  • Fixed parsing order of README files. YARD will now prefer README over
    README.md over README.x.md or README-x.md (and the like). READMEs will now
    also be ordered by filename; the first README is still chosen unless
    --readme is provided.
  • Updated AsciiDoc markup support to use non-deprecated calls.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jul 12, 2019
@depfu depfu bot changed the title 🚨 [security] Update yard: 0.9.16 → 0.9.20 (minor) 🚨 [security] Update yard: 0.9.16 → 0.9.20 (minor) Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants