Skip to content

[AutoPR- Security] Patch rubygem-faraday for CVE-2026-25765 [MEDIUM]#16432

Merged
kgodara912 merged 4 commits into
microsoft:mainfrom
azurelinux-security:azure-autosec/rubygem-faraday/2.0/1085447
May 7, 2026
Merged

[AutoPR- Security] Patch rubygem-faraday for CVE-2026-25765 [MEDIUM]#16432
kgodara912 merged 4 commits into
microsoft:mainfrom
azurelinux-security:azure-autosec/rubygem-faraday/2.0/1085447

Conversation

@azurelinux-security
Copy link
Copy Markdown

@azurelinux-security azurelinux-security commented Apr 2, 2026

Auto Patch rubygem-faraday for CVE-2026-25765.

Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1085447&view=results

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

Change Log
Does this affect the toolchain?

YES/NO

Associated issues
  • N/A
Links to CVEs
Test Methodology

@Kanishk-Bansal Kanishk-Bansal marked this pull request as ready for review April 13, 2026 10:21
@Kanishk-Bansal Kanishk-Bansal requested a review from a team as a code owner April 13, 2026 10:21
Copy link
Copy Markdown

@Kanishk-Bansal Kanishk-Bansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch Analysis (Minor Changes from upstream in patch, very minor backport)

  • Buddy Build 
  • patch applied during the build (check rpm.log)
  • patch include an upstream reference
  • PR has security tag

@Kanishk-Bansal Kanishk-Bansal added the ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review label Apr 30, 2026
Comment thread SPECS/rubygem-faraday/CVE-2026-25765.patch Outdated
@akhila-guruju
Copy link
Copy Markdown

Patch Analysis:
Replaced the line url = url.to_s.gsub(':', '%3A') if url && URI.parse(url.to_s).opaque with
url = "./#{url}" if url.respond_to?(:start_with?) && (!url.start_with?('http://', 'https://', '/', './', '../') || url.start_with?('//'))
the new condition is a strict superset of what the old line did, and matches with upstream codebase.

@Kanishk-Bansal Kanishk-Bansal requested a review from kgodara912 May 5, 2026 10:46
Comment thread SPECS/rubygem-faraday/CVE-2026-25765.patch
@kgodara912
Copy link
Copy Markdown

Buddy build

Copy link
Copy Markdown

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch matches with upstream reference. Buddy build is successful. LGTM.

@kgodara912 kgodara912 merged commit efbe941 into microsoft:main May 7, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoPR-Security main PR Destined for main Packaging ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants