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 uri 1.0.2 → 1.0.3 (patch) #272

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Mar 4, 2025


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this 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?

↗️ uri (indirect, 1.0.2 → 1.0.3) · Repo

Security Advisories 🚨

🚨 URI allows for userinfo Leakage in URI#join, URI#merge, and URI#+

There is a possibility for userinfo leakage by in the uri gem.
This vulnerability has been assigned the CVE identifier CVE-2025-27221. We recommend upgrading the uri gem.

Details

The methods URI#join, URI#merge, and URI#+ retained userinfo, such as user:password, even after the host is replaced. When generating a URL to a malicious host from a URL containing secret userinfo using these methods, and having someone access that URL, an unintended userinfo leak could occur.

Please update URI gem to version 0.11.3, 0.12.4, 0.13.2, 1.0.3 or later.

Affected versions

uri gem versions < 0.11.3, 0.12.0 to 0.12.3, 0.13.0, 0.13.1 and 1.0.0 to 1.0.2.

Credits

Thanks to Tsubasa Irisawa (lambdasawa) for discovering this issue.
Also thanks to nobu for additional fixes of this vulnerability.

Release Notes

1.0.3

What's Changed

  • Bump step-security/harden-runner from 2.10.1 to 2.10.2 by @dependabot in #136
  • Bump rubygems/release-gem from 612653d273a73bdae1df8453e090060bb4db5f31 to 9e85cb11501bebc2ae661c1500176316d3987059 by @dependabot in #137
  • Prevent a warning: URI::REGEXP is obsolete by @mame in #138
  • Revisit deprecated test by @hsbt in #139
  • Suppress deprecate warning of test class (retry) by @mame in #140
  • Fix README by @hsbt in #142
  • Bump rubygems/release-gem from 1.1.0 to 1.1.1 by @dependabot in #143
  • Bump step-security/harden-runner from 2.10.2 to 2.10.3 by @dependabot in #144
  • Bump step-security/harden-runner from 2.10.3 to 2.10.4 by @dependabot in #145
  • Make documentation 100% by @nobu in #147
  • Bump step-security/harden-runner from 2.10.4 to 2.11.0 by @dependabot in #153
  • Remove userinfo by @hsbt in #154

New Contributors

  • @mame made their first contribution in #138

Full Changelog: v1.0.2...v1.0.3

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

Commits

See the full diff on Github. The new version differs by 27 commits:


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 recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​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 Mar 4, 2025
@eduardoj
Copy link
Member

eduardoj commented Mar 4, 2025

@​depfu merge

@depfu depfu bot merged commit b4f91dd into main Mar 4, 2025
3 checks passed
@depfu depfu bot deleted the depfu/update/uri-1.0.3 branch March 4, 2025 10:05
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.

1 participant