Skip to content

Update dependency yard to v0.9.42 [SECURITY] - autoclosed#11350

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubygems-yard-vulnerability
Closed

Update dependency yard to v0.9.42 [SECURITY] - autoclosed#11350
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubygems-yard-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 23, 2026

This PR contains the following updates:

Package Change Age Confidence
yard (changelog) 0.9.370.9.42 age confidence

yard: Possible arbitrary path traversal and file access via yard server

GHSA-3jfp-46x4-xgfj

More information

Details

Impact

A path traversal vulnerability was discovered in YARD <= 0.9.41 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 original patch in GHSA-xfhh-rx56-rxcr was incorrectly applied.

Patches

Please upgrade to YARD v0.9.42 immediately if you are relying on yard server to host documentation in any untrusted environments without WEBrick and rely on --docroot.

Workarounds

For users who cannot upgrade, it is possible to perform path sanitization of HTTP requests at your webserver level. WEBrick, for example, can perform such sanitization by default (which you can use via yard server -s webrick), as can certain rules in your webserver configuration.

Severity

  • CVSS Score: 6.9 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/rubygems-yard-vulnerability branch from 0dbc6cf to 776c17e Compare April 23, 2026 17:27
@renovate renovate Bot changed the title Update dependency yard to v0.9.42 [SECURITY] Update dependency yard to v0.9.42 [SECURITY] - autoclosed Apr 23, 2026
@renovate renovate Bot closed this Apr 23, 2026
@renovate renovate Bot deleted the renovate/rubygems-yard-vulnerability branch April 23, 2026 18:10
@github-actions
Copy link
Copy Markdown
Contributor

Code Coverage Report: Only Changed Files listed

Package Base Coverage New Coverage Difference
Overall Coverage 🟢 53.13% 🟢 53.13% ⚪ 0%

Minimum allowed coverage is 0%, this run produced 53.13%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants