Update dependency faraday to v2.14.1 [SECURITY]#200
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update dependency faraday to v2.14.1 [SECURITY]#200renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
ec53950 to
30111cb
Compare
30111cb to
99bcef1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.13.3→2.14.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2026-25765
Impact
Faraday's
build_exclusive_urlmethod (inlib/faraday/connection.rb) uses Ruby'sURI#mergeto combine the connection's base URL with a user-supplied path. Per RFC 3986,protocol-relative URLs (e.g.
//evil.com/path) are treated as network-path referencesthat override the base URL's host/authority component.
This means that if any application passes user-controlled input to Faraday's
get(),post(),build_url(), or other request methods, an attacker can supply aprotocol-relative URL like
//attacker.com/endpointto redirect the request to anarbitrary host, enabling Server-Side Request Forgery (SSRF).
The
./prefix guard added in v2.9.2 (PR #1569) explicitly exempts URLs starting with/, so protocol-relative URLs bypass it entirely.Example:
Patches
Faraday v2.14.1 is patched against this security issue. All versions of Faraday up to 2.14.0 are affected.
Workarounds
NOTE: Upgrading to Faraday v2.14.1+ is the recommended action to mitigate this issue, however should that not be an option please continue reading.
Applications should validate and sanitize any user-controlled input before passing it to
Faraday request methods. Specifically:
Example validation:
Release Notes
lostisland/faraday (faraday)
v2.14.1Compare Source
Security Note
This release contains a security fix, we recommend all users to upgrade as soon as possible.
A Security Advisory with more details will be posted shortly.
What's Changed
New Contributors
Full Changelog: lostisland/faraday@v2.14.0...v2.14.1
v2.14.0Compare Source
What's Changed
New features ✨
UnprocessableContentnaming for 422 by @tylerhunt in #1638Fixes 🐞
Response#to_hashwhen response not finished yet by @yykamei in #1639Misc/Docs 📄
filter_mapby @olleolleolle in #1637actions/checkoutfrom v4 to v5 by @dependabot[bot] in #1636New Contributors
Full Changelog: lostisland/faraday@v2.13.4...v2.14.0
v2.13.4Compare Source
What's Changed
Full Changelog: lostisland/faraday@v2.13.3...v2.13.4
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.