Repository navigation
Conversation
…ation (finding 3.2.3) (#505) …ation
Invalidates a user's other sessions when their password changes, so a compromised session does not survive a reset. Two paths are covered: - Password reset (`/auth/password`): enables devise_token_auth's `remove_tokens_after_password_reset`, which prunes the tokens hash to the session completing the reset. `edit` mints that session's token last, so it is the one retained. - In-app password change (`PUT /auth`): `RegistrationsController#update` slices the tokens hash to the current request's token before the change is saved. This keeps the session performing the change regardless of token expiry order, and drops the rest. Needed because keep-newest alone would retain whichever session was newest, which on the in-app path is not necessarily the one making the change. The in-app slice keeps the current token's value unchanged, so the browser stays authenticated without refreshed auth headers. Specs: model-level prune behaviour, request-level reset invalidation, and request-level in-app invalidation (including the case where the other session is newer). Verified on UAT for both paths and both session orderings. Related: #508 closes an unintended password-change path on `PUT /users/{id}`; the single-password-path assumption here depends on it. --------- Co-authored-by: Philip Arndt <git@p.arndt.io>
Removes `password` / `password_confirmation` from `UserPolicy`'s
permitted attributes, closing an unintended password-change path via
`PUT /users/{id}`.
These attributes were permitted on updates (not gated on `new_record?`
the way `email` is), so an admin or manager could set another user's
password through the users endpoint, and a user could set their own
there. Neither is a path the app uses - registration and password change
both go through `/auth`. Password params sent to `/users/{id}` are now
silently stripped.
Also trims the dead `@record.new_record?` branch from the email line
(this path only handles persisted records) and updates the stale
comment.
Specs: `PUT /users/{id}` with a password is a no-op for both an admin
updating another user and a self-update - the name change applies, the
password does not, and the original password still authenticates.
Related: #507. That change makes `/auth` the sole password-change path;
this PR closes the alternative.
---------
Co-authored-by: Philip Arndt <git@p.arndt.io>
A malformed JSON request body previously returned HTTP 500. It fails in the params-parsing middleware, upstream of the controller, and fell through handle_error_in_json_format's else branch to 500. Maps ActionDispatch::Http::Parameters::ParseError to 400, so a malformed body is treated as a bad request rather than a server error. Response body is unchanged (generic parse-error message); only the status differs. Addresses assessment finding 3.2.4 (Internal Server Errors Can Be Triggered), reported severity informational. The parse error was the case the assessor demonstrated. Other well-formed-but-unexpected-input 500s (validation-failure bang methods, unguarded date parsing) were considered but left out as gold-plating for an informational finding with no re-test planned. Verified on UAT: the malformed body now returns 400. The spec asserts the same, and is confirmed to fail (500) without the fix. --------- Co-authored-by: Philip Arndt <git@p.arndt.io>
Enables config.send_password_change_notification, so both password change paths (in-app change and reset) email the account holder when their password changes. Fires from Devise's after_update on the user, so no controller changes are needed; verified neither path suppresses it. Adds the password_change mailer templates (html + text) and locale keys, matching the reset-instructions email style. The "wasn't you" line is worded as a call to action, since the change has already happened. Spec asserts the trigger (mailer invoked once on a password change, not on other updates); rendering/delivery verified on UAT.
Stock devise_token_auth raises ActionController::RoutingError on an invalid or expired password reset token, which surfaces as an HTTP 500 in this API-only app and leaves the user on a blank/home page. Overrides render_edit_error in PasswordsController to redirect the browser to CLIENT_URL + CLIENT_RESET_LINK_INVALID_PATH (default: not-found) instead of raising. Fires for all dead-link cases (expired, malformed, not-found, already-used), so a bad link lands on a real page rather than an error. Still need to create link-invalid page/route in client Fixes both the 500 and the silent home-page redirect. Verified on UAT: an invalid reset link now redirects to CLIENT_RESET_LINK_INVALID_PATH (or fallback) and renders the client "Page not found" page. Spec covers the configured path and the default fallback. --------- Co-authored-by: Philip Arndt <git@p.arndt.io>
Adds re-authentication (current password) to sensitive account actions, so a session cannot make them without the acting user proving their identity. Changes: - Password change: sets config.check_current_password_before_update = :password. Previously current_password was validated only if supplied; omitting it bypassed the check. Now it is required whenever the password changes. The token-based reset flow stays exempt (allow_password_change bypasses the check in DTA). - Role changes: require_current_password! gates all role assignment and removal on UserRolesController (not just promotions, so it stays correct if non-hierarchical roles are added later). Re-authentication runs after authorization, so a user who isn't permitted to change roles gets 403 (forbidden) rather than being prompted for a password. - Email change: same gate on UsersController#update, but only when the email is actually changing. Dormant for SG (update_email is disabled, so email is stripped from permitted attributes); active on installs that enable email editing. The gate (require_current_password! in ApplicationController) is defence-in-depth: the client sends current_password on these requests, so it primarily blocks direct API calls (e.g. a hijacked session). Existing UserRoles controller and API specs updated to send current_password on the success cases and to reflect the authorization-before-re-authentication ordering. Verified on UAT: password change and role assign/remove reject without current_password (401/422) and succeed with it. Email gate covered by spec (stubbed on), since it is disabled on this build. Depends on #508. Based on that branch; the email gate builds on its permitted-attributes change. Client side implementation still TODO
`config/initializers/devise.rb` sets `navigational_formats` twice. An earlier line sets it to `[]` (alongside `skip_session_storage = [:http_auth, :token_auth]`), which is the intended API-only behaviour. The generator's stock block further down then overrides it with `["*/*", :html]`. With `*/*` treated as navigational, Devise's failure app takes the redirect branch on auth failure. On GET requests it calls `store_location!`, which writes to the session - disabled on this app - raising `DisabledSessionError`. So a GET auth failure without a JSON `Accept` header returns 500 instead of 401. POST failures return 302 (no session write, since `store_location!` only stores on GET). Not reachable from the SPA, which sends `Accept: application/json` and gets 401 as expected. Surfaced via curl. **Change:** delete the duplicate assignment and its boilerplate comment, leaving `[]` as the effective value. No sign-in page exists on this API-only backend to redirect to. **Verified on UAT:** locked account with a valid token, `GET /users`, no `Accept` header - 500 (`DisabledSessionError`) before, 401 after. JSON `Accept` path unchanged. **Note:** the 401 now carries `content-type: */*; charset=utf-8` (echoing `request.format`). Cosmetic - body is still JSON. Independent of #508/#512; branched off `sg-dev`.
Creating a connection that already exists returned the raw Rails
validation error, e.g. `{"user_id":["has already been taken"]}` for a
duplicate role assignment. That names a foreign key the user never set,
describes a database constraint rather than what happened, and the
attribute differs per connection type.
Join controllers now return `{"relationship":["already exists"]}` for
uniqueness failures on create, via a shared helper in
`ApplicationController`. Other validation failures still return the
record's errors unchanged.
The helper checks for an error of type `:taken`, which is generic to any
uniqueness validation, so it is only called from join controllers where
a duplicate connection is the only such constraint in play.
Adds a uniqueness validation to RecommendationIndicator, which was
missing one, so duplicate recommendation-indicator connections are now
rejected consistently with the other join models.
**Specs**
Controller specs cover the duplicate-create case for user_roles,
recommendation_measures, recommendation_indicators, and
measure_indicators. The last of these three sit behind feature flags, so
they only run with FEATURE_MEASURES and FEATURE_INDICATORS enabled.
**Not covered**
`measure_categories`, `recommendation_categories`, and `user_categories`
use `save_with_cleanup`, which calls `save!` inside a transaction so
that a failure rolls back the preceding cleanup deletions. A duplicate
there raises `ActiveRecord::RecordInvalid` and is handled by the
existing rescue in `ApplicationController`, returning `{"error":{...}}`
with the raw validation message. Those controllers keep the old
behaviour.
`recommendation_recommendations` have no uniqueness validation, so
duplicates are not rejected at all and the new message does not apply.
recommendation_recommendations is not yet used by the client.
Enforces a per-token inactivity timeout for devise_token_auth sessions, addressing the pentest finding that sessions stay valid after >30 min idle. Token rotation is off (change_headers_on_each_request = false) to avoid batch write-contention, so DTA's native sliding expiry is unavailable. Instead: - token_activities table stores (user_id, client_id, last_activity_at), one row per live token. It lives off the users row and outside PaperTrail so activity writes don't reintroduce contention or version noise. - TokenActivityEnforcement is a read-only before_action that rejects any request whose token row is stale or missing (fail closed), deleting the stale row rather than writing to users.tokens on the hot path. - POST /auth/activity is a client heartbeat, the only writer, coalesced so the write rate stays ~1 per token per window. Enforcement runs first, so a late ping cannot resurrect an already-expired session. - User#reconcile_token_activities (after_save) keeps the row set in step with the tokens hash, covering login, sign-out, password-reset pruning and max_number_of_devices eviction in one seam. - Thresholds live in config/initializers/session_timeout.rb (30 min timeout, 2 min coalesce window). Existing tokens are backfilled at deploy so no live session is force-expired. - The password-change prune (remove_tokens_after_password_reset) is a before_save, so User#reconcile_token_activities - an after_save - sees the already-pruned tokens hash and drops the activity rows for the invalidated sessions in the same transaction. This pins that projection, and makes the forward-referencing comments already in this spec true. The client heartbeat (interaction-gated ping to /auth/activity) is still to be wired up in the SPA. --------- Co-authored-by: tmfrnz <timo@dumpark.com>
Bumps [puma](https://github.com/puma/puma) from 6.6.0 to 7.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/puma/puma/releases">puma's releases</a>.</em></p> <blockquote> <h2>v7.2.1</h2> <ul> <li>Bugfixes <ul> <li>Limit and anchor PROXY protocol v1 parsing to prevent abuse via crafted inputs (<a href="https://redirect.github.com/puma/puma/issues/3947">#3947</a>)</li> <li>Parse PROXY protocol only once per connection to prevent injection on keep-alive requests (<a href="https://redirect.github.com/puma/puma/issues/3947">#3947</a>)</li> </ul> </li> </ul> <h2>Security advisories</h2> <ul> <li><a href="https://github.com/puma/puma/security/advisories/GHSA-qpgp-93vx-g8v8">CVE-2026-47736 / GHSA-qpgp-93vx-g8v8</a>: Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion</li> <li><a href="https://github.com/puma/puma/security/advisories/GHSA-2vqw-3mp8-cgmx">CVE-2026-47737 / GHSA-2vqw-3mp8-cgmx</a>: Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections</li> </ul> <h2>v7.2.0 - On The Corner</h2> <ul> <li> <p>Features</p> <ul> <li>Add workers <code>:auto</code> (<a href="https://redirect.github.com/puma/puma/issues/3827">#3827</a>)</li> <li>Make it possible to restrict control server commands to stats (<a href="https://redirect.github.com/puma/puma/issues/3787">#3787</a>)</li> </ul> </li> <li> <p>Bugfixes</p> <ul> <li>Don't break if <code>WEB_CONCURRENCY</code> is set to a blank string (<a href="https://redirect.github.com/puma/puma/issues/3837">#3837</a>)</li> <li>Don't share server between worker 0 and descendants on refork (<a href="https://redirect.github.com/puma/puma/issues/3602">#3602</a>)</li> <li>Fix phase check race condition in <code>Puma::Cluster#check_workers</code> (<a href="https://redirect.github.com/puma/puma/issues/3690">#3690</a>)</li> <li>Fix advertising of CLI config before config files are loaded (<a href="https://redirect.github.com/puma/puma/issues/3823">#3823</a>)</li> </ul> </li> <li> <p>Performance</p> <ul> <li>17% faster HTTP parsing through pre-interning env keys (<a href="https://redirect.github.com/puma/puma/issues/3825">#3825</a>)</li> <li>Implement <code>dsize</code> and <code>dcompact</code> functions for <code>Puma::HttpParser</code>, which makes Puma's C-extension GC-compactible (<a href="https://redirect.github.com/puma/puma/issues/3828">#3828</a>)</li> </ul> </li> <li> <p>Refactor</p> <ul> <li>Remove <code>NoMethodError</code> rescue in <code>Reactor#select_loop</code> (<a href="https://redirect.github.com/puma/puma/issues/3831">#3831</a>)</li> <li>Various cleanups in the C extension (<a href="https://redirect.github.com/puma/puma/issues/3814">#3814</a>)</li> <li>Monomorphize <code>handle_request</code> return (<a href="https://redirect.github.com/puma/puma/issues/3802">#3802</a>)</li> </ul> </li> <li> <p>Docs</p> <ul> <li>Change link to <code>docs/deployment.md</code> in <code>README.md</code> (<a href="https://redirect.github.com/puma/puma/issues/3848">#3848</a>)</li> <li>Fix formatting for each signal description in signals.md (<a href="https://redirect.github.com/puma/puma/issues/3813">#3813</a>)</li> <li>Update deployment and Kubernetes docs with Puma configuration tips (<a href="https://redirect.github.com/puma/puma/issues/3807">#3807</a>)</li> <li>Rename master to main (<a href="https://redirect.github.com/puma/puma/issues/3809">#3809</a>, <a href="https://redirect.github.com/puma/puma/issues/3808">#3808</a>, <a href="https://redirect.github.com/puma/puma/issues/3800">#3800</a>)</li> <li>Fix some minor typos in the docs (<a href="https://redirect.github.com/puma/puma/issues/3804">#3804</a>)</li> <li>Add <code>GOVERNANCE.md</code>, <code>MAINTAINERS</code> (<a href="https://redirect.github.com/puma/puma/issues/3826">#3826</a>)</li> <li>Remove Code Climate badge (<a href="https://redirect.github.com/puma/puma/issues/3820">#3820</a>)</li> <li>Add <a href="https://github.com/joshuay03"><code>@joshuay03</code></a> to the maintainer list</li> </ul> </li> <li> <p>CI</p> <ul> <li>Use Minitest 6 where applicable (<a href="https://redirect.github.com/puma/puma/issues/3859">#3859</a>)</li> <li>Many test suite improvements and flake fixes (<a href="https://redirect.github.com/puma/puma/issues/3861">#3861</a>, <a href="https://redirect.github.com/puma/puma/issues/3863">#3863</a>, <a href="https://redirect.github.com/puma/puma/issues/3860">#3860</a>, <a href="https://redirect.github.com/puma/puma/issues/3852">#3852</a>, <a href="https://redirect.github.com/puma/puma/issues/3857">#3857</a>, <a href="https://redirect.github.com/puma/puma/issues/3856">#3856</a>, <a href="https://redirect.github.com/puma/puma/issues/3845">#3845</a>, <a href="https://redirect.github.com/puma/puma/issues/3843">#3843</a>, <a href="https://redirect.github.com/puma/puma/issues/3842">#3842</a>, <a href="https://redirect.github.com/puma/puma/issues/3841">#3841</a>, <a href="https://redirect.github.com/puma/puma/issues/3822">#3822</a>, <a href="https://redirect.github.com/puma/puma/issues/3817">#3817</a>, <a href="https://redirect.github.com/puma/puma/issues/3764">#3764</a>)</li> </ul> </li> </ul> <h2>v7.1.0</h2> <h2>7.1.0 / 2025-10-16 - Neon Witch</h2> <p><img src="https://github.com/user-attachments/assets/6f013211-35fb-46ce-84d8-00794e020294" alt="neon_witch" /></p> <ul> <li>Features</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/puma/puma/blob/main/History.md">puma's changelog</a>.</em></p> <blockquote> <h2>7.2.1 / 2026-05-27</h2> <ul> <li>Bugfixes <ul> <li>Limit and anchor PROXY protocol v1 parsing to prevent abuse via crafted inputs (<a href="https://redirect.github.com/puma/puma/issues/3947">#3947</a>)</li> <li>Parse PROXY protocol only once per connection to prevent injection on keep-alive requests (<a href="https://redirect.github.com/puma/puma/issues/3947">#3947</a>)</li> </ul> </li> </ul> <h2>7.2.0 / 2026-01-20</h2> <ul> <li> <p>Features</p> <ul> <li>Add workers <code>:auto</code> (<a href="https://redirect.github.com/puma/puma/issues/3827">#3827</a>)</li> <li>Make it possible to restrict control server commands to stats (<a href="https://redirect.github.com/puma/puma/issues/3787">#3787</a>)</li> </ul> </li> <li> <p>Bugfixes</p> <ul> <li>Don't break if <code>WEB_CONCURRENCY</code> is set to a blank string (<a href="https://redirect.github.com/puma/puma/issues/3837">#3837</a>)</li> <li>Don't share server between worker 0 and descendants on refork (<a href="https://redirect.github.com/puma/puma/issues/3602">#3602</a>)</li> <li>Fix phase check race condition in <code>Puma::Cluster#check_workers</code> (<a href="https://redirect.github.com/puma/puma/issues/3690">#3690</a>)</li> <li>Fix advertising of CLI config before config files are loaded (<a href="https://redirect.github.com/puma/puma/issues/3823">#3823</a>)</li> </ul> </li> <li> <p>Performance</p> <ul> <li>17% faster HTTP parsing through pre-interning env keys (<a href="https://redirect.github.com/puma/puma/issues/3825">#3825</a>)</li> <li>Implement <code>dsize</code> and <code>dcompact</code> functions for <code>Puma::HttpParser</code>, which makes Puma's C-extension GC-compactible (<a href="https://redirect.github.com/puma/puma/issues/3828">#3828</a>)</li> </ul> </li> <li> <p>Refactor</p> <ul> <li>Remove <code>NoMethodError</code> rescue in <code>Reactor#select_loop</code> (<a href="https://redirect.github.com/puma/puma/issues/3831">#3831</a>)</li> <li>Various cleanups in the C extension (<a href="https://redirect.github.com/puma/puma/issues/3814">#3814</a>)</li> <li>Monomorphize <code>handle_request</code> return (<a href="https://redirect.github.com/puma/puma/issues/3802">#3802</a>)</li> </ul> </li> <li> <p>Docs</p> <ul> <li>Change link to <code>docs/deployment.md</code> in <code>README.md</code> (<a href="https://redirect.github.com/puma/puma/issues/3848">#3848</a>)</li> <li>Fix formatting for each signal description in signals.md (<a href="https://redirect.github.com/puma/puma/issues/3813">#3813</a>)</li> <li>Update deployment and Kubernetes docs with Puma configuration tips (<a href="https://redirect.github.com/puma/puma/issues/3807">#3807</a>)</li> <li>Rename master to main (<a href="https://redirect.github.com/puma/puma/issues/3809">#3809</a>, <a href="https://redirect.github.com/puma/puma/issues/3808">#3808</a>, <a href="https://redirect.github.com/puma/puma/issues/3800">#3800</a>)</li> <li>Fix some minor typos in the docs (<a href="https://redirect.github.com/puma/puma/issues/3804">#3804</a>)</li> <li>Add <code>GOVERNANCE.md</code>, <code>MAINTAINERS</code> (<a href="https://redirect.github.com/puma/puma/issues/3826">#3826</a>)</li> <li>Remove Code Climate badge (<a href="https://redirect.github.com/puma/puma/issues/3820">#3820</a>)</li> <li>Add <a href="https://github.com/joshuay03"><code>@joshuay03</code></a> to the maintainer list</li> </ul> </li> <li> <p>CI</p> <ul> <li>Use Minitest 6 where applicable (<a href="https://redirect.github.com/puma/puma/issues/3859">#3859</a>)</li> <li>Many test suite improvements and flake fixes (<a href="https://redirect.github.com/puma/puma/issues/3861">#3861</a>, <a href="https://redirect.github.com/puma/puma/issues/3863">#3863</a>, <a href="https://redirect.github.com/puma/puma/issues/3860">#3860</a>, <a href="https://redirect.github.com/puma/puma/issues/3852">#3852</a>, <a href="https://redirect.github.com/puma/puma/issues/3857">#3857</a>, <a href="https://redirect.github.com/puma/puma/issues/3856">#3856</a>, <a href="https://redirect.github.com/puma/puma/issues/3845">#3845</a>, <a href="https://redirect.github.com/puma/puma/issues/3843">#3843</a>, <a href="https://redirect.github.com/puma/puma/issues/3842">#3842</a>, <a href="https://redirect.github.com/puma/puma/issues/3841">#3841</a>, <a href="https://redirect.github.com/puma/puma/issues/3822">#3822</a>, <a href="https://redirect.github.com/puma/puma/issues/3817">#3817</a>, <a href="https://redirect.github.com/puma/puma/issues/3764">#3764</a>)</li> </ul> </li> </ul> <h2>7.1.0 / 2025-10-16</h2> <ul> <li> <p>Features</p> <ul> <li>Introduce <code>after_worker_shutdown</code> hook (<a href="https://redirect.github.com/puma/puma/issues/3707">#3707</a>)</li> <li>Reintroduce keepalive "fast inline" behavior. Provides faster (8x on JRuby & 1.4x on Ruby) pipeline processing (<a href="https://redirect.github.com/puma/puma/issues/3794">#3794</a>)</li> </ul> </li> <li> <p>Bugfixes</p> <ul> <li>Skip reading zero bytes when request body is buffered (<a href="https://redirect.github.com/puma/puma/issues/3795">#3795</a>)</li> <li>Fix <code>PUMA_LOG_CONFIG=1</code> logging twice with prune_bundler enabled (<a href="https://redirect.github.com/puma/puma/issues/3778">#3778</a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/puma/puma/commit/92754ace040db67622f0e6406dea0b47c94d0139"><code>92754ac</code></a> Release v7.2.1 (<a href="https://redirect.github.com/puma/puma/issues/3948">#3948</a>)</li> <li><a href="https://github.com/puma/puma/commit/ebe9db3929ab8299d19c8f5b41e8ef4f4b22fa58"><code>ebe9db3</code></a> 7.2.1 backport (<a href="https://redirect.github.com/puma/puma/issues/3947">#3947</a>)</li> <li><a href="https://github.com/puma/puma/commit/96b5aa63e0599e8adf971ceb57efa3cc5663f8a9"><code>96b5aa6</code></a> v7.2.0 (<a href="https://redirect.github.com/puma/puma/issues/3864">#3864</a>)</li> <li><a href="https://github.com/puma/puma/commit/5d7d1ddb266d52abfd96d763a4870af2c3ce9d1a"><code>5d7d1dd</code></a> Add workers :auto (<a href="https://redirect.github.com/puma/puma/issues/3827">#3827</a>)</li> <li><a href="https://github.com/puma/puma/commit/b8c4783cc1ed24300b4b940c57a5dd970db99369"><code>b8c4783</code></a> ci: fix ci - remove <code>append_as_bytes</code> logic, misc changes (<a href="https://redirect.github.com/puma/puma/issues/3861">#3861</a>)</li> <li><a href="https://github.com/puma/puma/commit/44a3ac43a71ea1344e739275b9f55708f9e496ee"><code>44a3ac4</code></a> Fix PR label manager when maintainer comments [ci skip] (<a href="https://redirect.github.com/puma/puma/issues/3863">#3863</a>)</li> <li><a href="https://github.com/puma/puma/commit/43f5d8935ea85d19e98459294114b31196276bc1"><code>43f5d89</code></a> Add GOVERNANCE.md, MAINTAINERS (<a href="https://redirect.github.com/puma/puma/issues/3826">#3826</a>)</li> <li><a href="https://github.com/puma/puma/commit/21afa66798c46212ef392085cb1825c74d107810"><code>21afa66</code></a> Use Minitest 6 where applicable (<a href="https://redirect.github.com/puma/puma/issues/3859">#3859</a>)</li> <li><a href="https://github.com/puma/puma/commit/ec7dd61cf9c5e9ec58f356ca2e32e90602de094c"><code>ec7dd61</code></a> ci: Update test_http11.rb for TruffleRuby - string size (<a href="https://redirect.github.com/puma/puma/issues/3860">#3860</a>)</li> <li><a href="https://github.com/puma/puma/commit/fa89dbe1ce8dd8f3159363f30cecaf4338583b2c"><code>fa89dbe</code></a> ci: add <code>ruby 4.0</code> and <code>rails 8.1</code> (<a href="https://redirect.github.com/puma/puma/issues/3852">#3852</a>)</li> <li>Additional commits viewable in <a href="https://github.com/puma/puma/compare/v6.6.0...v7.2.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.5.14 to 0.5.15. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ruby/net-imap/releases">net-imap's releases</a>.</em></p> <blockquote> <h2>v0.5.15</h2> <h2>What's Changed</h2> <h3>🔒 Security</h3> <p>This release fixes several more security vulnerabilities which are related to the fixes in <code>v0.5.14</code>. Please see the linked security advisories for more information.</p> <ul> <li><em>(moderate)</em> Command Injection via non-synchronizing literal in "raw" argument (CVE-2026-47240, GHSA-8p34-64r3-mwg8) This vulnerability depends how the server interprets non-synchronizing literals. The connection is <em>not</em> vulnerable if the server supports non-synchronizing literals. <ul> <li>🥅 Validate non-synchronizing literals support by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/703">ruby/net-imap#703</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/701">ruby/net-imap#701</a>)</li> </ul> </li> <li><em>(moderate)</em> Command Injection via unvalidated ID and ENABLE arguments (CVE-2026-47242, GHSA-46q3-7gv7-qmgg) <ul> <li>🥅 Validate <code>ID</code> values contain only valid bytes by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/703">ruby/net-imap#703</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/698">ruby/net-imap#698</a>)</li> <li>🥅 Validate <code>#enable</code> arguments are all atoms by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/703">ruby/net-imap#703</a> (backport <a href="https://redirect.github.com/ruby/net-imap/pull/699">ruby/net-imap#699</a>) <strong>NOTE:</strong> <code>#enable</code> should <strong><em>never</em></strong> be called with untrusted input.</li> </ul> </li> <li><em>(low)</em> Denial of Service via incomplete "raw" argument validation (CVE-2026-47241, GHSA-c4fp-cxrr-mj66) This results in the affected command hanging until the connection is closed. If another thread attempts to send a concurrent pipelined command, the first thread will return with a syntax error and the second thread will hang until the connection closes. <ul> <li><em>Reported by <a href="https://github.com/fg0x0"><code>@fg0x0</code></a></em></li> <li>🐛 Prevent trailing <code>{0}</code> in RawData validation by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/703">ruby/net-imap#703</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/700">ruby/net-imap#700</a>)</li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>🥅 Validate that Atom and Flag are not empty by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/685">ruby/net-imap#685</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/684">ruby/net-imap#684</a>)</li> <li>🧵 Fix deadlock in <code>#disconnect</code> by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/697">ruby/net-imap#697</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/686">ruby/net-imap#686</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>⚠️ Boost visibility of raw data argument documentation warnings by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/696">ruby/net-imap#696</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/677">ruby/net-imap#677</a>)</li> </ul> <h3>Other Changes</h3> <ul> <li>🏷️ Allow 64-bit Integer arguments in <a href="https://redirect.github.com/ruby/net-imap/pull/696">ruby/net-imap#696</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/675">ruby/net-imap#675</a>)</li> <li>🥅 Ensure send_number_data input is an Integer in <a href="https://redirect.github.com/ruby/net-imap/pull/696">ruby/net-imap#696</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/676">ruby/net-imap#676</a>)</li> <li>♻️ Improve <code>RawData.new</code>, Add <code>RawData.split</code> by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/696">ruby/net-imap#696</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/679">ruby/net-imap#679</a>)</li> <li>🥅 Validate response literal byte size format by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/696">ruby/net-imap#696</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/681">ruby/net-imap#681</a>)</li> </ul> <h3>Miscellaneous</h3> <ul> <li>✅ Improvements to tests' FakeServer in <a href="https://redirect.github.com/ruby/net-imap/pull/696">ruby/net-imap#696</a> (backports <a href="https://redirect.github.com/ruby/net-imap/pull/678">ruby/net-imap#678</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/net-imap/compare/v0.5.14...v0.5.15">https://github.com/ruby/net-imap/compare/v0.5.14...v0.5.15</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby/net-imap/commit/ce20fc8e9974ed87d0848dc411eef490623cdeb9"><code>ce20fc8</code></a> 🔖 Bump version to 0.5.15</li> <li><a href="https://github.com/ruby/net-imap/commit/0b7b83c19312dd3f44cb72be2e7681289324d9db"><code>0b7b83c</code></a> 🔀 Merge pull request <a href="https://redirect.github.com/ruby/net-imap/issues/703">#703</a> from ruby/backport/v0.5/security-patches</li> <li><a href="https://github.com/ruby/net-imap/commit/f22fd6cee01140b53cdb7fc8d42a352a734f4509"><code>f22fd6c</code></a> 🍒 pick 0ea9eba3 (<a href="https://redirect.github.com/ruby/net-imap/issues/701">#701</a>): ✅ Fix flaky tests for MacOS, TruffleRuby</li> <li><a href="https://github.com/ruby/net-imap/commit/12460740451d064cef84f59dd8c91baba0388ae1"><code>1246074</code></a> 🍒 pick ae9f83b5 (<a href="https://redirect.github.com/ruby/net-imap/issues/701">#701</a>): ♻️ Extract str.bytesize lvar in send_literal</li> <li><a href="https://github.com/ruby/net-imap/commit/a2f61af6b7a7e6f0e4f27691531de6e4861318cd"><code>a2f61af</code></a> 🍒 pick 62a0da6d (<a href="https://redirect.github.com/ruby/net-imap/issues/701">#701</a>): 🥅 Validate non-synchronizing literals support</li> <li><a href="https://github.com/ruby/net-imap/commit/e33348ccdc639d0d4414f72e4ba7024bdb24bf29"><code>e33348c</code></a> 🍒 pick d6ddd294 (<a href="https://redirect.github.com/ruby/net-imap/issues/700">#700</a>): 🐛 Prevent trailing <code>{0}</code> in RawData validation</li> <li><a href="https://github.com/ruby/net-imap/commit/4f81b69044297de02ada859fffba6ad9923a43a5"><code>4f81b69</code></a> 🍒 pick 1f97168b (<a href="https://redirect.github.com/ruby/net-imap/issues/699">#699</a>): 🥅 Validate <code>#enable</code> arguments are all atoms</li> <li><a href="https://github.com/ruby/net-imap/commit/69da4a490dd148526fb287a5c82056bfd20c6f95"><code>69da4a4</code></a> 🍒 pick 8d9397ab (<a href="https://redirect.github.com/ruby/net-imap/issues/698">#698</a>): 🥅 Validate QuotedString contains only valid bytes</li> <li><a href="https://github.com/ruby/net-imap/commit/7aab580ad35f2cad1404a58bf0ff015567f2593c"><code>7aab580</code></a> 🍒 pick e3c50fad (<a href="https://redirect.github.com/ruby/net-imap/issues/698">#698</a>): ♻️ Refactor RawText, add improve test coverage</li> <li><a href="https://github.com/ruby/net-imap/commit/fac1733d45ec57da3675c4d266c771c73c7265bb"><code>fac1733</code></a> 🍒 pick aab64f92 (<a href="https://redirect.github.com/ruby/net-imap/issues/686">#686</a>): 🧵 Fix deadlock in <code>#disconnect</code></li> <li>Additional commits viewable in <a href="https://github.com/ruby/net-imap/compare/v0.5.14...v0.5.15">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.19.3 to 1.19.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sparklemotion/nokogiri/releases">nokogiri's releases</a>.</em></p> <blockquote> <h2>v1.19.4 / 2026-06-18</h2> <h3>Security</h3> <ul> <li>[CRuby] (Low) Fixed a possible invalid memory read when <code>XML::Node#initialize_copy_with_args</code> is called with an argument that is not a <code>Node</code>. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-g9g8-vgvw-g3vf">GHSA-g9g8-vgvw-g3vf</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when an <code>XML::XPathContext</code> is used after its source document has been garbage collected. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-p67v-3w7g-wjg7">GHSA-p67v-3w7g-wjg7</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free during XInclude processing via <code>Node#do_xinclude</code>. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69">GHSA-wfpw-mmfh-qq69</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when <code>Document#root=</code> is assigned a non-element node. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wjv4-x9w8-wm3h">GHSA-wjv4-x9w8-wm3h</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when setting an attribute value via <code>XML::Attr#value=</code> or <code>#content=</code>. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-phwj-rprq-35pp">GHSA-phwj-rprq-35pp</a> for more information.</li> <li>[CRuby] (Low) Fixed a null pointer dereference when methods are called on uninitialized wrapper objects (e.g. via <code>allocate</code>); these now raise instead of crashing the process. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-9cv2-cfxc-v4v2">GHSA-9cv2-cfxc-v4v2</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when <code>Document#encoding=</code> raises an exception. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-5v8h-3h3q-446p">GHSA-5v8h-3h3q-446p</a> for more information.</li> <li>[CRuby] (Medium) Fixed an out-of-bounds read in <code>XML::NodeSet#[]</code> (alias <code>#slice</code>) when given a large negative index. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-5prr-v3j2-97mh">GHSA-5prr-v3j2-97mh</a> for more information.</li> <li>[JRuby] (Low) <code>XML::Schema</code> now enforces the <code>NONET</code> parse option, which Nokogiri enables by default. It was not enforced on JRuby, so a schema parsed with default options could still fetch external resources over the network, potentially enabling SSRF or XXE attacks and bypassing the mitigation for CVE-2020-26247. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-8678-w3jw-xfc2">GHSA-8678-w3jw-xfc2</a> for more information.</li> </ul> <!-- raw HTML omitted --> <pre><code>1269fb644a6de405057a53dd5c762b1209b43ca7424f839454d3dbc677c31a8f nokogiri-1.19.4-aarch64-linux-gnu.gem 35c65b9ce72b3bb03207bdbe7067915019dc18c1b9b59139684bd6690fdd01af nokogiri-1.19.4-aarch64-linux-musl.gem a301313e38bb065d68239e79734bcd6f56fb6efaacebde29e9abf2a4735340ca nokogiri-1.19.4-arm-linux-gnu.gem 588923c101bcfa78869734d247d25b598674323e7f22474fc468f6e5647311eb nokogiri-1.19.4-arm-linux-musl.gem a46db9853286e6597b36ebc6953817d15acf3a299583eb3f89fdc6f91dd63527 nokogiri-1.19.4-arm64-darwin.gem ce04b9e268c9626852231a48b49128ed52034f1ccb39484a6da3875491cd709e nokogiri-1.19.4-java.gem 051da97b8eccfdb5444fed40246a35e10d7298b9efe759b4cd25455ea04c587e nokogiri-1.19.4-x64-mingw-ucrt.gem 7fd17057d3e1f00e9954a74b3cd76595d3d4a5ef233b7ed9599047c204f70551 nokogiri-1.19.4-x86_64-darwin.gem 379fae440b28915e3f19d752ce2dcf8465ed2b2fbefd2a7ca0dd497bc981a06a nokogiri-1.19.4-x86_64-linux-gnu.gem 17dfb7c1fa194ae02fbf7c51a7afc8d278045ab3fdacfd86f91d02d7b274470b nokogiri-1.19.4-x86_64-linux-musl.gem 50c951611c92bca05c51411aef45f1cbc50f2821c4802758c5c6d34696533ab5 nokogiri-1.19.4.gem </code></pre> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md">nokogiri's changelog</a>.</em></p> <blockquote> <h2>v1.19.4 / 2026-06-18</h2> <h3>Security</h3> <ul> <li>[CRuby] (Low) Fixed a possible invalid memory read when <code>XML::Node#initialize_copy_with_args</code> is called with an argument that is not a <code>Node</code>. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-g9g8-vgvw-g3vf">GHSA-g9g8-vgvw-g3vf</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when an <code>XML::XPathContext</code> is used after its source document has been garbage collected. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-p67v-3w7g-wjg7">GHSA-p67v-3w7g-wjg7</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free during XInclude processing via <code>Node#do_xinclude</code>. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69">GHSA-wfpw-mmfh-qq69</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when <code>Document#root=</code> is assigned a non-element node. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wjv4-x9w8-wm3h">GHSA-wjv4-x9w8-wm3h</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when setting an attribute value via <code>XML::Attr#value=</code> or <code>#content=</code>. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-phwj-rprq-35pp">GHSA-phwj-rprq-35pp</a> for more information.</li> <li>[CRuby] (Low) Fixed a null pointer dereference when methods are called on uninitialized wrapper objects (e.g. via <code>allocate</code>); these now raise instead of crashing the process. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-9cv2-cfxc-v4v2">GHSA-9cv2-cfxc-v4v2</a> for more information.</li> <li>[CRuby] (Low) Fixed a possible use-after-free when <code>Document#encoding=</code> raises an exception. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-5v8h-3h3q-446p">GHSA-5v8h-3h3q-446p</a> for more information.</li> <li>[CRuby] (Medium) Fixed an out-of-bounds read in <code>XML::NodeSet#[]</code> (alias <code>#slice</code>) when given a large negative index. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-5prr-v3j2-97mh">GHSA-5prr-v3j2-97mh</a> for more information.</li> <li>[JRuby] (Low) <code>XML::Schema</code> now enforces the <code>NONET</code> parse option, which Nokogiri enables by default. It was not enforced on JRuby, so a schema parsed with default options could still fetch external resources over the network, potentially enabling SSRF or XXE attacks and bypassing the mitigation for CVE-2020-26247. See <a href="https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-8678-w3jw-xfc2">GHSA-8678-w3jw-xfc2</a> for more information.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sparklemotion/nokogiri/commit/8cfb9daae9ee4a0837508eab43c40fbc8c4138c9"><code>8cfb9da</code></a> version bump to v1.19.4</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/a856d1e46bda04ef47a0bd2b9eefe86df1eb0bb2"><code>a856d1e</code></a> fix: JRuby NONET bypass in XML::Schema (v1.19.x) (<a href="https://redirect.github.com/sparklemotion/nokogiri/issues/3639">#3639</a>)</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/6a0aa1e7042ea58e10db713d4984c692a8db1a30"><code>6a0aa1e</code></a> fix(CRuby): use-after-free in Document#encoding= when setter raises (v1.19.x)...</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/f658a54ab2df58a3525967c339edce9649c197d4"><code>f658a54</code></a> fix: JRuby NONET bypass in XML::Schema</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/39d26fea52cda8ac15313561824fd0bc018818aa"><code>39d26fe</code></a> fix(CRuby): use-after-free in Document#encoding= when setter raises</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/04a09ddd67a4b573eb5c634655c2fb857e0436ad"><code>04a09dd</code></a> fix(CRuby): out-of-bounds read in NodeSet#[] with large negative index (v1.19...</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/7799fbd325f9f5e10fcccc77daaa903949a9d545"><code>7799fbd</code></a> fix: avoid NPE on uninitialized XML::Node structs (v1.19.x) (<a href="https://redirect.github.com/sparklemotion/nokogiri/issues/3645">#3645</a>)</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/ef19e1329c39f885e980b301f33fb233f3431d14"><code>ef19e13</code></a> fix(CRuby): avoid UAF in XML::Attr#value= (v1.19.x) (<a href="https://redirect.github.com/sparklemotion/nokogiri/issues/3644">#3644</a>)</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/5524fa97868ae26dfd74d700aba256b117262267"><code>5524fa9</code></a> fix: <code>Document#root=</code> rejects non-element nodes (v1.19.x) (<a href="https://redirect.github.com/sparklemotion/nokogiri/issues/3643">#3643</a>)</li> <li><a href="https://github.com/sparklemotion/nokogiri/commit/9891ad1092a265ae1cef220c377ebbabc9fde622"><code>9891ad1</code></a> fix(CRuby): use-after-free in XPathContext document lifetime (v1.19.x) (<a href="https://redirect.github.com/sparklemotion/nokogiri/issues/3641">#3641</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sparklemotion/nokogiri/compare/v1.19.3...v1.19.4">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [faraday](https://github.com/lostisland/faraday) from 2.14.2 to 2.14.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lostisland/faraday/releases">faraday's releases</a>.</em></p> <blockquote> <h2>v2.14.3</h2> <h2>Security Note</h2> <p>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.</p> <h2>What's Changed</h2> <ul> <li>Upgrade CI lint step from Ruby 3 to 4 by <a href="https://github.com/larouxn"><code>@larouxn</code></a> in <a href="https://redirect.github.com/lostisland/faraday/pull/1673">lostisland/faraday#1673</a></li> <li>feat(test): add Stubs#clear to remove all stubs by <a href="https://github.com/SAY-5"><code>@SAY-5</code></a> in <a href="https://redirect.github.com/lostisland/faraday/pull/1675">lostisland/faraday#1675</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/SAY-5"><code>@SAY-5</code></a> made their first contribution in <a href="https://redirect.github.com/lostisland/faraday/pull/1675">lostisland/faraday#1675</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/lostisland/faraday/compare/v2.14.2...v2.14.3">https://github.com/lostisland/faraday/compare/v2.14.2...v2.14.3</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lostisland/faraday/commit/f1ace878bae16c1df298b6af7c34657f2c4dcddb"><code>f1ace87</code></a> Version bump to 2.14.3</li> <li><a href="https://github.com/lostisland/faraday/commit/36764bfc48aa9fc08336d36600ea67af149c80fa"><code>36764bf</code></a> Merge commit from fork</li> <li><a href="https://github.com/lostisland/faraday/commit/59334e0e9b1918bd26b143f4a7bbc8c765de3ac4"><code>59334e0</code></a> feat(test): add Stubs#clear to remove all stubs (<a href="https://redirect.github.com/lostisland/faraday/issues/1675">#1675</a>)</li> <li><a href="https://github.com/lostisland/faraday/commit/469f25c793f25bcfdd416a54edeb454d045c08d6"><code>469f25c</code></a> Upgrade CI lint step from Ruby 3 to 4 (<a href="https://redirect.github.com/lostisland/faraday/issues/1673">#1673</a>)</li> <li>See full diff in <a href="https://github.com/lostisland/faraday/compare/v2.14.2...v2.14.3">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.3.6 to 1.3.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ruby-concurrency/concurrent-ruby/releases">concurrent-ruby's releases</a>.</em></p> <blockquote> <h2>v1.3.7</h2> <!-- raw HTML omitted --> <p>There are 3 security fixes in this release, so updating is recommended. These security vulnerabilities are not very likely to be hit in practice and have a corresponding <code>Low</code> severity score.</p> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-h8w8-99g7-qmvj">CVE-2026-54904</a> <code>AtomicReference#update</code> livelocks when the stored value is <code>Float::NAN</code>. Fix by <a href="https://github.com/joshuay03"><code>@joshuay03</code></a> and <a href="https://github.com/eregon"><code>@eregon</code></a></li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-wv3x-4vxv-whpp">CVE-2026-54905</a> <code>ReentrantReadWriteLock</code> read-count overflow grants a write lock without exclusivity. Fix by <a href="https://github.com/joshuay03"><code>@joshuay03</code></a></li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr">CVE-2026-54906</a> <code>ReadWriteLock</code> allows wrong-thread write release and stray read-release counter corruption. Fix by <a href="https://github.com/joshuay03"><code>@joshuay03</code></a></li> <li>concurrent-ruby-ext: fix build on Darwin 32-bit by <a href="https://github.com/barracuda156"><code>@barracuda156</code></a> in <a href="https://redirect.github.com/ruby-concurrency/concurrent-ruby/pull/1064">ruby-concurrency/concurrent-ruby#1064</a></li> <li>Add SECURITY.md by <a href="https://github.com/eregon"><code>@eregon</code></a> in <a href="https://redirect.github.com/ruby-concurrency/concurrent-ruby/pull/1104">ruby-concurrency/concurrent-ruby#1104</a></li> <li>Add Ruby 4.0 in CI by <a href="https://github.com/eregon"><code>@eregon</code></a> in <a href="https://redirect.github.com/ruby-concurrency/concurrent-ruby/pull/1106">ruby-concurrency/concurrent-ruby#1106</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/barracuda156"><code>@barracuda156</code></a> made their first contribution in <a href="https://redirect.github.com/ruby-concurrency/concurrent-ruby/pull/1064">ruby-concurrency/concurrent-ruby#1064</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.3.6...v1.3.7">https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.3.6...v1.3.7</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md">concurrent-ruby's changelog</a>.</em></p> <blockquote> <h2>Release v1.3.7 (16 June 2026)</h2> <p>concurrent-ruby:</p> <ul> <li>See the <a href="https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.7">release notes on GitHub</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/4c8fc28ab6bb9bd8258a4c0c2fa6d35ebe77b3cb"><code>4c8fc28</code></a> Release 1.3.7</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/d91ca9426cb819d6cc63f1bd64bfe54644d0beca"><code>d91ca94</code></a> Fix AtomicReference#update livelock when stored value is Float::NAN on JRuby ...</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/7e4d711bacf7a1dac3ef6bda44004387be2dc7e6"><code>7e4d711</code></a> Fix <code>ReentrantReadWriteLock</code> read hold overflow into write-lock bit</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/6e37e0644b83b182971dc540d2e4bee38df61386"><code>6e37e06</code></a> Fix <code>AtomicReference#update</code> livelock when stored value is <code>Float::NAN</code></li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/2825cfa12cb708b76557803957f76862eb1151a2"><code>2825cfa</code></a> Cleanup spec</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/3fd493283ca5f84f0ef4e84aabd43ad68df4626b"><code>3fd4932</code></a> Fix <code>ReadWriteLock</code> wrong-thread write release and stray read release</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/1974b4772efc034ee8eaa562b4370343f4c5c54b"><code>1974b47</code></a> Add Ruby 4.0 in CI</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/df8706d40c483d76bbb0b3a35a633c68fa9e17be"><code>df8706d</code></a> Add SECURITY.md (<a href="https://redirect.github.com/ruby-concurrency/concurrent-ruby/issues/1104">#1104</a>)</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/7a1b78941c081106c20a9ca0144ac73a48d254ab"><code>7a1b789</code></a> Bump actions/upload-pages-artifact from 4 to 5</li> <li><a href="https://github.com/ruby-concurrency/concurrent-ruby/commit/9b2dbf712896a638a73d2fa221206961c8d6484d"><code>9b2dbf7</code></a> Bump actions/deploy-pages from 4 to 5</li> <li>Additional commits viewable in <a href="https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.3.6...v1.3.7">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [secure_headers](https://github.com/github/secure_headers) from 7.1.0 to 7.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/secure_headers/releases">secure_headers's releases</a>.</em></p> <blockquote> <h2>v7.3.0</h2> <h2>Security</h2> <ul> <li><strong>CSP directive injection via <code>sandbox</code>, <code>plugin-types</code>, and <code>report-to</code> when given untrusted input</strong> — <a href="https://github.com/github/secure_headers/security/advisories/GHSA-rqq5-2gf9-4w4q">GHSA-rqq5-2gf9-4w4q</a>. Reported by <a href="https://github.com/tonghuaroot"><code>@tonghuaroot</code></a>. The 2020 source-list scrub was not applied to the <code>sandbox</code>, <code>plugin-types</code>, and <code>report-to</code> directive builders, so caller-supplied values containing <code>;</code>, <code>\n</code>, or <code>\r</code> were emitted verbatim into the <code>Content-Security-Policy</code> header and could inject arbitrary directives. All three builders now share the same scrub (replace <code>;</code>, <code>\n</code>, <code>\r</code> with a space and <code>Kernel.warn</code>).</li> </ul> <blockquote> <p>[!IMPORTANT] <strong>You should never pass user-supplied input into your Content-Security-Policy configuration.</strong> CSP directive values are part of a security policy, not user data — any untrusted input creates a policy-injection risk. This fix is a defense-in-depth backstop; it is not a license to feed user input into CSP directives. Treat all CSP values as trusted, application-controlled configuration.</p> </blockquote> <h2>What's Changed</h2> <ul> <li>Fix CSP injection via <code>sandbox</code> / <code>plugin-types</code> / <code>report-to</code> directives (GHSA-rqq5-2gf9-4w4q)</li> <li>Bump <code>actions/checkout</code> from 5 to 6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/github/secure_headers/pull/582">github/secure_headers#582</a></li> <li>Bump <code>ruby/setup-ruby</code> from 1.288.0 → 1.310.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/github/secure_headers/issues/584">#584</a>, <a href="https://redirect.github.com/github/secure_headers/issues/585">#585</a>, <a href="https://redirect.github.com/github/secure_headers/issues/587">#587</a>, <a href="https://redirect.github.com/github/secure_headers/issues/588">#588</a>, <a href="https://redirect.github.com/github/secure_headers/issues/589">#589</a>, <a href="https://redirect.github.com/github/secure_headers/issues/590">#590</a>, <a href="https://redirect.github.com/github/secure_headers/issues/591">#591</a>, <a href="https://redirect.github.com/github/secure_headers/issues/592">#592</a></li> <li>Bump Version to 7.3.0 by <a href="https://github.com/KyFaSt"><code>@KyFaSt</code></a> in <a href="https://redirect.github.com/github/secure_headers/pull/593">github/secure_headers#593</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/github/secure_headers/compare/v7.2.0...v7.3.0">https://github.com/github/secure_headers/compare/v7.2.0...v7.3.0</a></p> <h2>v7.2.0</h2> <p>Release notes</p> <h2>What's Changed</h2> <ul> <li>Remove non-lowercase headers in Rails default configuration by <a href="https://github.com/obrie"><code>@obrie</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/551">github/secure_headers#551</a></li> <li>Fix compatibility with Rack 3 by <a href="https://github.com/deril"><code>@deril</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/555">github/secure_headers#555</a></li> <li>Normalize domains with trailing slashes by <a href="https://github.com/keithamus"><code>@keithamus</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/477">github/secure_headers#477</a></li> <li>Add tests for hash generation by <a href="https://github.com/rahearn"><code>@rahearn</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/485">github/secure_headers#485</a></li> <li>Add Configuration.disable! by <a href="https://github.com/fletchto99"><code>@fletchto99</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/568">github/secure_headers#568</a></li> <li>Don't set upgrade-insecure-requests-directive for HTTP requests by <a href="https://github.com/fletchto99"><code>@fletchto99</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/570">github/secure_headers#570</a></li> <li>Add <code>cgi</code> dependency for ruby 4.0 support by <a href="https://github.com/vcsjones"><code>@vcsjones</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/560">github/secure_headers#560</a></li> <li>Update rubocop configuration for ruby 4.0 support by <a href="https://github.com/rei-moo"><code>@rei-moo</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/561">github/secure_headers#561</a></li> <li>Fix code style by <a href="https://github.com/tmaier"><code>@tmaier</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/563">github/secure_headers#563</a></li> <li>Fix typos by <a href="https://github.com/myersg86"><code>@myersg86</code></a> <a href="https://redirect.github.com/github/secure_headers/pull/546">github/secure_headers#546</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/github/secure_headers/compare/v7.1.0...v7.2.0">https://github.com/github/secure_headers/compare/v7.1.0...v7.2.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/github/secure_headers/commit/65e2b4887eb3aea4184d078ef1a949b59977d29f"><code>65e2b48</code></a> Bump Version to 7.3.0 (<a href="https://redirect.github.com/github/secure_headers/issues/593">#593</a>)</li> <li><a href="https://github.com/github/secure_headers/commit/286a79dea80c6a9be4ca93e0f284c923cf77e539"><code>286a79d</code></a> Merge commit from fork</li> <li><a href="https://github.com/github/secure_headers/commit/c29127f94333d046741e0e0cb57e13731a4e0b1c"><code>c29127f</code></a> Bump ruby/setup-ruby from 1.308.0 to 1.310.0 (<a href="https://redirect.github.com/github/secure_headers/issues/592">#592</a>)</li> <li><a href="https://github.com/github/secure_headers/commit/b79d64d436fe45f7004c3e5b45f9f322111ddfec"><code>b79d64d</code></a> Bump ruby/setup-ruby from 1.308.0 to 1.310.0</li> <li><a href="https://github.com/github/secure_headers/commit/0cbcf127482816baf99075cd164bd84bf557cb9d"><code>0cbcf12</code></a> Bump ruby/setup-ruby from 1.307.0 to 1.308.0 (<a href="https://redirect.github.com/github/secure_headers/issues/591">#591</a>)</li> <li><a href="https://github.com/github/secure_headers/commit/8c5486b2ef844cd867fbdca93e1887fd80da151f"><code>8c5486b</code></a> Bump ruby/setup-ruby from 1.307.0 to 1.308.0</li> <li><a href="https://github.com/github/secure_headers/commit/c3c5e09dd18973d59dd1548d80dcd06e83cf18b6"><code>c3c5e09</code></a> Bump ruby/setup-ruby from 1.306.0 to 1.307.0 (<a href="https://redirect.github.com/github/secure_headers/issues/590">#590</a>)</li> <li><a href="https://github.com/github/secure_headers/commit/7dd741e2235d0e91eab0ca86e728a818bc7c0224"><code>7dd741e</code></a> Bump ruby/setup-ruby from 1.306.0 to 1.307.0</li> <li><a href="https://github.com/github/secure_headers/commit/e8064e7f5364e804bcd2bacb50790af5acd009f6"><code>e8064e7</code></a> Bump ruby/setup-ruby from 1.302.0 to 1.306.0 (<a href="https://redirect.github.com/github/secure_headers/issues/589">#589</a>)</li> <li><a href="https://github.com/github/secure_headers/commit/39df4ec7b9cee651a6f919b527e037960a888328"><code>39df4ec</code></a> Bump ruby/setup-ruby from 1.302.0 to 1.306.0</li> <li>Additional commits viewable in <a href="https://github.com/github/secure_headers/compare/v7.1.0...v7.3.0">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [excon](https://github.com/excon/excon) from 0.109.0 to 1.5.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/excon/excon/blob/master/changelog.txt">excon's changelog</a>.</em></p> <blockquote> <h1>1.5.0 2026-05-03</h1> <ul> <li>update bundled certs</li> <li>invalid parameter error for nil host</li> <li>close security issues around headers and redirect following</li> </ul> <h1>1.4.1 2026-03-18</h1> <ul> <li>change cgi require to cgi/escape for ruby 4.0+</li> </ul> <h1>1.4.0 2026-03-02</h1> <ul> <li>fixes for ruby4</li> <li>add ruby 4.0 and drop 3.2 from ci</li> <li>add user-configurable global resolver factory</li> <li>add SOCK5 proxy support</li> </ul> <h1>1.3.2 2025-12-03</h1> <ul> <li>update bundled certs</li> </ul> <h1>1.3.1 2025-11-05</h1> <ul> <li>update bundled certs</li> </ul> <h1>1.3.0 2025-08-18</h1> <ul> <li>proxy connect should always include port, regardless of default</li> </ul> <h1>1.2.9 2025-08-15</h1> <ul> <li>bump actions/checkout</li> <li>update bundled certs</li> </ul> <h1>1.2.8 2025-07-16</h1> <ul> <li>update bundled certs</li> </ul> <h1>1.2.7 2025-05-27</h1> <ul> <li>freezes caused inadvertent breaking changes, so partially rolling back</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/excon/excon/commit/f59b27e16c7516b7f2724401a430cacc144da406"><code>f59b27e</code></a> v1.5.0</li> <li><a href="https://github.com/excon/excon/commit/ea89a35308a12f4b791b6c50f2cbd33f94889fa3"><code>ea89a35</code></a> expand redirect header redaction (<a href="https://redirect.github.com/excon/excon/issues/901">#901</a>)</li> <li><a href="https://github.com/excon/excon/commit/74e175420e3163308ece5b4ded03077b9c6b715a"><code>74e1754</code></a> Raise Excon::Error::InvalidParameter when host is nil instead of crashing wit...</li> <li><a href="https://github.com/excon/excon/commit/4e784d5cd84ca6f0e14e26526e0dc9c9371984ff"><code>4e784d5</code></a> update bundled certs</li> <li><a href="https://github.com/excon/excon/commit/011b3ae595211d63264849c93741ca5ab7f646bb"><code>011b3ae</code></a> v1.4.2</li> <li><a href="https://github.com/excon/excon/commit/aff99fc68565bbf627d7ea5d33279a626e9998f4"><code>aff99fc</code></a> update bundled certs</li> <li><a href="https://github.com/excon/excon/commit/cd02b9043dd47d15715af6000e8b89da88c18740"><code>cd02b90</code></a> v1.4.1</li> <li><a href="https://github.com/excon/excon/commit/98126647d813c9d99e26b800810ae9487d554e19"><code>9812664</code></a> Require cgi/escape instead of cgi (<a href="https://redirect.github.com/excon/excon/issues/898">#898</a>)</li> <li><a href="https://github.com/excon/excon/commit/000410301f6d96b7927c1c8aaaa0be3d68f3a383"><code>0004103</code></a> v1.4.0</li> <li><a href="https://github.com/excon/excon/commit/b8debfe0373784bab2822031f86932981084009d"><code>b8debfe</code></a> Add SOCKS5 proxy support (<a href="https://redirect.github.com/excon/excon/issues/895">#895</a>)</li> <li>Additional commits viewable in <a href="https://github.com/excon/excon/compare/v0.109.0...v1.5.0">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [websocket-driver](https://github.com/faye/websocket-driver-ruby) from 0.7.7 to 0.8.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/faye/websocket-driver-ruby/blob/main/CHANGELOG.md">websocket-driver's changelog</a>.</em></p> <blockquote> <h3>0.8.2 / 2026-06-23</h3> <ul> <li>Gracefully handle malformed <code>Host</code> headers in the <code>Server</code> driver</li> </ul> <h3>0.8.1 / 2026-06-04</h3> <ul> <li>Close a draft-75/76 connection if a length header grows to exceed the configured max length</li> <li>Fail the connection if a message is larger than the configured max length after extension processing</li> <li>Limit the total HTTP request line and headers size to 32K</li> </ul> <h3>0.8.0 / 2025-05-25</h3> <ul> <li>Emit binary message as a string with <code>Encoding::BINARY</code> instead of an array</li> <li>Add the option <code>:binary_data_format</code> to force the previous behaviour</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/49e230b252817632c1ab14a8c501fa460d5fa9bf"><code>49e230b</code></a> Bump version to 0.8.2</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/7d6fd87759a2fdc83590d3b49ffa661dc53fa128"><code>7d6fd87</code></a> Gracefully handle malformed <code>Host</code> headers in the <code>Server</code> driver</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/5cab908d5e72d40345751edbd4f1e1ef75d53d89"><code>5cab908</code></a> Bump version to 0.8.1</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/17b569f232896e71d458404ccf4854f80e987710"><code>17b569f</code></a> Limit the total HTTP request line and headers size to 32K</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/fa8641724f10bf3273585f1dcf9041f540bbd036"><code>fa86417</code></a> Fail the connection if a message is larger than the configured max length aft...</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/d0141f041f6e3677a951255d547a313e732ccbe0"><code>d0141f0</code></a> Close a draft-75/76 connection if a length header grows to exceed the configu...</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/1e4475e3753e3b614c49739e8eb0bc3e0d1c2580"><code>1e4475e</code></a> Test on Ruby 4.0</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/2824edc61bd3b93458b34054e29c313d8493f7db"><code>2824edc</code></a> Update release date for 0.8.0</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/befd449e009bd106fc2ba1f5689af7e95485800e"><code>befd449</code></a> Prefer text frames over binary; if the input is in some non-UTF-8 text encodi...</li> <li><a href="https://github.com/faye/websocket-driver-ruby/commit/e3155f726d2e30b9834bf5d5392d53a9fbfdb4ee"><code>e3155f7</code></a> Bump version to 0.8.0</li> <li>Additional commits viewable in <a href="https://github.com/faye/websocket-driver-ruby/compare/0.7.7...0.8.2">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.25.1 to 2.25.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/flavorjones/loofah/releases">loofah's releases</a>.</em></p> <blockquote> <h2>2.25.2 / 2026-07-15</h2> <h3>Security</h3> <ul> <li>Ensure <code>Loofah::HTML5::Scrub.allowed_uri?</code> recognizes numeric character references without semicolons (e.g. <code>javascript&#58alert(1)</code>), which browsers decode and execute, and rejects schemes split by them. See <a href="https://github.com/flavorjones/loofah/security/advisories/GHSA-5qhf-9phg-95m2">GHSA-5qhf-9phg-95m2</a>. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Ensure <code>Loofah::HTML5::Scrub.allowed_uri?</code> recognizes the named character references <code>&Tab;</code> and <code>&NewLine;</code>, which <code>CGI.unescapeHTML</code> does not decode and browsers strip from URIs, and rejects schemes split by them (e.g. <code>java&Tab;script:alert(1)</code>). See <a href="https://github.com/flavorjones/loofah/security/advisories/GHSA-8whx-365g-h9vv">GHSA-8whx-365g-h9vv</a>. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Ensure that both <code>href</code> and <code>xlink:href</code> attributes on SVG elements like <code>use</code> are restricted to local (same-document) references. Previously only <code>xlink:href</code> was restricted, allowing the SVG 2 <code>href</code> attribute to reference external documents. See <a href="https://github.com/flavorjones/loofah/security/advisories/GHSA-9wjq-cp2p-hrgf">GHSA-9wjq-cp2p-hrgf</a>. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Improved</h3> <ul> <li>Harden <code>data:</code> URI mediatype parsing in <code>Loofah::HTML5::Scrub.allowed_uri?</code>. The mediatype is now parsed following the <a href="https://fetch.spec.whatwg.org/#data-urls">WHATWG data: URL spec</a> and <a href="https://www.rfc-editor.org/rfc/rfc2397">RFC 2397</a> instead of simply being split on a colon. A <code>data:</code> URI with an omitted or malformed mediatype is now treated as <code>text/plain</code> and allowed, and one without the required comma is now rejected. <a href="https://redirect.github.com/flavorjones/loofah/issues/305">#305</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Remove <code>feed</code> from the default set of allowed protocols. The <a href="https://en.wikipedia.org/wiki/Feed_URI_scheme">feed URI scheme</a> was never accepted as a standard protocol, and no major browser supports it. Removing it reduces the attack surface particularly for non-browser contexts. <a href="https://redirect.github.com/flavorjones/loofah/issues/304">#304</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Remove a vestigial <code>&#x70</code> alternative from <code>Loofah::HTML5::SafeList::PROTOCOL_SEPARATOR</code>. This appears to be an ancient typo dating back to pre-extraction Rails circa 2007. <a href="https://redirect.github.com/flavorjones/loofah/issues/305">#305</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md">loofah's changelog</a>.</em></p> <blockquote> <h2>2.25.2 / 2026-07-15</h2> <h3>Security</h3> <ul> <li>Ensure <code>Loofah::HTML5::Scrub.allowed_uri?</code> recognizes numeric character references without semicolons (e.g. <code>javascript&#58alert(1)</code>), which browsers decode and execute, and rejects schemes split by them. See <a href="https://github.com/flavorjones/loofah/security/advisories/GHSA-5qhf-9phg-95m2">GHSA-5qhf-9phg-95m2</a>. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Ensure <code>Loofah::HTML5::Scrub.allowed_uri?</code> recognizes the named character references <code>&Tab;</code> and <code>&NewLine;</code>, which <code>CGI.unescapeHTML</code> does not decode and browsers strip from URIs, and rejects schemes split by them (e.g. <code>java&Tab;script:alert(1)</code>). See <a href="https://github.com/flavorjones/loofah/security/advisories/GHSA-8whx-365g-h9vv">GHSA-8whx-365g-h9vv</a>. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Ensure that both <code>href</code> and <code>xlink:href</code> attributes on SVG elements like <code>use</code> are restricted to local (same-document) references. Previously only <code>xlink:href</code> was restricted, allowing the SVG 2 <code>href</code> attribute to reference external documents. See <a href="https://github.com/flavorjones/loofah/security/advisories/GHSA-9wjq-cp2p-hrgf">GHSA-9wjq-cp2p-hrgf</a>. <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> <h3>Improved</h3> <ul> <li>Harden <code>data:</code> URI mediatype parsing in <code>Loofah::HTML5::Scrub.allowed_uri?</code>. The mediatype is now parsed following the <a href="https://fetch.spec.whatwg.org/#data-urls">WHATWG data: URL spec</a> and <a href="https://www.rfc-editor.org/rfc/rfc2397">RFC 2397</a> instead of simply being split on a colon. A <code>data:</code> URI with an omitted or malformed mediatype is now treated as <code>text/plain</code> and allowed, and one without the required comma is now rejected. <a href="https://redirect.github.com/flavorjones/loofah/issues/305">#305</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Remove <code>feed</code> from the default set of allowed protocols. The <a href="https://en.wikipedia.org/wiki/Feed_URI_scheme">feed URI scheme</a> was never accepted as a standard protocol, and no major browser supports it. Removing it reduces the attack surface particularly for non-browser contexts. <a href="https://redirect.github.com/flavorjones/loofah/issues/304">#304</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> <li>Remove a vestigial <code>&#x70</code> alternative from <code>Loofah::HTML5::SafeList::PROTOCOL_SEPARATOR</code>. This appears to be an ancient typo dating back to pre-extraction Rails circa 2007. <a href="https://redirect.github.com/flavorjones/loofah/issues/305">#305</a> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/flavorjones/loofah/commit/2706d7e858426ba856d9711b0e761b2fee7986c4"><code>2706d7e</code></a> version bump to v2.25.2</li> <li><a href="https://github.com/flavorjones/loofah/commit/1afde0cb8db147debed5d7200a7de947b09c1d9b"><code>1afde0c</code></a> Merge pull request <a href="https://redirect.github.com/flavorjones/loofah/issues/308">#308</a> from flavorjones/security-2252</li> <li><a href="https://github.com/flavorjones/loofah/commit/f1be9d893b5a8dd79240441a912d8897e74c38c0"><code>f1be9d8</code></a> Update <code>allowed_uri?</code> to decode semicolon-less numeric character references</li> <li><a href="https://github.com/flavorjones/loofah/commit/5e91af861e3cdab47b91dd0b81f3afdfd13a5e19"><code>5e91af8</code></a> Update <code>allowed_uri?</code> to handle named whitespace character references</li> <li><a href="https://github.com/flavorjones/loofah/commit/20867b9be689521887364b74822c41ef830523c9"><code>20867b9</code></a> Properly restrict SVG href attributes</li> <li><a href="https://github.com/flavorjones/loofah/commit/5f3bff46b610c1221c4bdb4e5b5b90e1178576cc"><code>5f3bff4</code></a> test: opt into JSON comment parsing for sanitizer testdata (<a href="https://redirect.github.com/flavorjones/loofah/issues/307">#307</a>)</li> <li><a href="https://github.com/flavorjones/loofah/commit/b07713d155ec7f5ae101464f09483a45efd481c2"><code>b07713d</code></a> test: do not run in verbose mode</li> <li><a href="https://github.com/flavorjones/loofah/commit/babe7a86e808e4f4df638140bf6719d18d97ffae"><code>babe7a8</code></a> doc: update CHANGELOG</li> <li><a href="https://github.com/flavorjones/loofah/commit/a8d8d96d916f08ac46f478cbe9e8ae056c98f2b3"><code>a8d8d96</code></a> Merge pull request <a href="https://redirect.github.com/flavorjones/loofah/issues/305">#305</a> from flavorjones/drop-protocol-typo</li> <li><a href="https://github.com/flavorjones/loofah/commit/b52f4b022db0a35f08d7f916fdf6034d312c7c8d"><code>b52f4b0</code></a> version bump to 2.25.2.beta1</li> <li>Additional commits viewable in <a href="https://github.com/flavorjones/loofah/compare/v2.25.1...v2.25.2">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [oauth2](https://github.com/ruby-oauth/oauth2) from 2.0.20 to 2.0.22. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ruby-oauth/oauth2/releases">oauth2's releases</a>.</em></p> <blockquote> <h2>v2.0.22</h2> <h2><a href="https://github.com/ruby-oauth/oauth2/compare/v2.0.21...v2.0.22">2.0.22</a> - 2026-06-07</h2> <ul> <li>TAG: <a href="https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.22">v2.0.22</a></li> <li>COVERAGE: 100.00% -- 542/542 lines in 15 files</li> <li>BRANCH COVERAGE: 100.00% -- 180/180 branches in 15 files</li> <li>88.35% documented</li> </ul> <h3>Changed</h3> <ul> <li>Raised generated development tooling floors to <code>kettle-dev</code> >= 2.1.1 and <code>version_gem</code> >= 1.1.11.</li> <li>Raised the runtime dependency floor for <code>snaky_hash</code> to <code>>= 2.0.5</code>.</li> </ul> <h3>Security</h3> <ul> <li>[GHSA-pp92-crg2-gfv9] Prevent protocol-relative redirect <code>Location</code> values from changing request authority, and strip <code>Authorization</code> headers from cross-origin redirects.</li> </ul> <p>Official Discord 👉️ <a href="https://discord.gg/3qme4XHNKN"><img src="https://img.shields.io/discord/1373797679469170758?style=flat" alt="Live Chat on Discord" /></a></p> <p>Many paths lead to being a sponsor or a backer of this project. Are you on such a path?</p> <p><a href="https://opencollective.com/ruby-oauth#backer"><img src="https://opencollective.com/ruby-oauth/backers/badge.svg?style=flat" alt="OpenCollective Backers" /></a> <a href="https://opencollective.com/ruby-oauth#sponsor"><img src="https://opencollective.com/ruby-oauth/sponsors/badge.svg?style=flat" alt="OpenCollective Sponsors" /></a> <a href="https://github.com/sponsors/pboling"><img src="https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github" alt="Sponsor Me on Github" /></a> <a href="https://liberapay.com/pboling/donate"><img src="https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat" alt="Liberapay Goal Progress" /></a> <a href="https://www.paypal.com/paypalme/peterboling"><img src="https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal" alt="Donate on PayPal" /></a></p> <p><a href="https://www.buymeacoffee.com/pboling"><img src="https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat" alt="Buy me a coffee" /></a> <a href="https://polar.sh/pboling"><img src="https://img.shields.io/badge/polar-donate-a51611.svg?style=flat" alt="Donate on Polar" /></a> <a href="https://ko-fi.com/pboling"><img src="https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat" alt="Donate to my FLOSS efforts at ko-fi.com" /></a> <a href="https://patreon.com/galtzo"><img src="https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat" alt="Donate to my FLOSS efforts using Patreon" /></a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ruby-oauth/oauth2/blob/main/CHANGELOG.md">oauth2's changelog</a>.</em></p> <blockquote> <h2>[2.0.22] - 2026-06-07</h2> <ul> <li>TAG: [v2.0.22][2.0.22t]</li> <li>COVERAGE: 100.00% -- 542/542 lines in 15 files</li> <li>BRANCH COVERAGE: 100.00% -- 180/180 branches in 15 files</li> <li>88.35% documented</li> </ul> <h3>Changed</h3> <ul> <li>Raised generated development tooling floors to <code>kettle-dev</code> >= 2.1.1 and <code>version_gem</code> >= 1.1.11.</li> <li>Raised the runtime dependency floor for <code>snaky_hash</code> to <code>>= 2.0.5</code>.</li> </ul> <h3>Security</h3> <ul> <li><a href="https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9">GHSA-pp92-crg2-gfv9</a> Prevent protocol-relative redirect <code>Location</code> values from changing request authority, and strip <code>Authorization</code> headers from cross-origin redirects by <a href="https://github.com/tonghuaroot"><code>@tonghuaroot</code></a> and <a href="https://github.com/pboling"><code>@pboling</code></a></li> </ul> <h2>[2.0.21] - 2026-06-06</h2> <ul> <li>TAG: [v2.0.21][2.0.21t]</li> <li>COVERAGE: 100.00% -- 525/525 lines in 15 files</li> <li>BRANCH COVERAGE: 100.00% -- 174/174 branches in 15 files</li> <li>88.35% documented</li> </ul> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/ruby-oauth/oauth2/pull/730">gh!730</a> - Alternatives section to README by <a href="https://github.com/jonathangrinstead"><code>@jonathangrinstead</code></a></li> <li>Updates to alternatives section - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> </ul> <ul> <li>Added conditional <code>appraisal2-rubocop</code> Appraisal root loading on modern Ruby so generated Appraisal gemfiles are normalized during generation - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> </ul> <h3>Changed</h3> <ul> <li>Raised generated <code>version_gem</code> dependency floor to <code>version_gem</code> >= 1.1.10 - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> <li>Raised the runtime dependency floor for <code>auth-sanitizer</code> to <code>>= 0.2.1</code> so OAuth2 consumers get hash and nested-attribute inspect redaction fixes plus downstream RBS duplicate-declaration fixes - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> <li>Refreshed generated package metadata, support documentation, CI workflows, and development dependency floors from the current kettle-jem template - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> <li>Documented the current per-version Ruby, JRuby, and TruffleRuby CI matrix in generated README badges and compatibility tables - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> <li>Removed the post-install message from the gemspec to keep installs quieter - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> <li>Refreshed generated README support badges so Ruby 2.3 is listed as supported but untested - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> <li>Refreshed generated project metadata from the current kettle-jem template - by <a href="https://github.com/pboling"><code>@pboling</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ruby-oauth/oauth2/commit/551f434a81912763fb5a8e240cd00a6532e26970"><code>551f434</code></a> 🔖 Prepare release v2.0.22</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/849e7e5e1f867c2d05c05428922aed12bc6439cb"><code>849e7e5</code></a> 🧪 Strengthen redirect security specs</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/442c1609858ebaecbac5eab77f4511bc81ed7383"><code>442c160</code></a> 📝 Reference GHSA in security changelog</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/f6fed86ddf4295c47f38df61ee37066b62a13ef2"><code>f6fed86</code></a> ⬆️ Raise snaky_hash floor</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/26bfeda3d8c0b34d6a51bfa30b7a8bf1b5f3b0f6"><code>26bfeda</code></a> 🔧 Refresh kettle-jem templates</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/0f0a474f1b38453e119e660c2daca742d4378ce9"><code>0f0a474</code></a> Fix credential leakage on redirects</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/1118527f311a23d06feede403b88b8f6bd2a4eed"><code>1118527</code></a> 🔒️ Checksums for v2.0.21</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/3f4154985fc0ab9b2b3fd0b085fa132fdc8bd8b4"><code>3f41549</code></a> 🔖 Prepare release v2.0.21</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/3311b5b6b39c57c062a071356a55bcb826207e54"><code>3311b5b</code></a> Raise auth-sanitizer floor to 0.2.1</li> <li><a href="https://github.com/ruby-oauth/oauth2/commit/5659d892c3dcb4266c682f1565d0266d0b321503"><code>5659d89</code></a> 🔖 Prepare release v2.0.21</li> <li>Additional commits viewable in <a href="https://github.com/ruby-oauth/oauth2/compare/v2.0.20...v2.0.22">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.7.0 to 1.7.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rails/rails-html-sanitizer/releases">rails-html-sanitizer's releases</a>.</em></p> <blockquote> <h2>v1.7.1 / 2026-07-15</h2> <ul> <li> <p>SVG reference elements now restrict both <code>href</code> and <code>xlink:href</code> to local references.</p> <p>Previously <code>PermitScrubber</code> restricted only <code>xlink:href</code> on elements in <code>SVG_ALLOW_LOCAL_HREF</code>, so a plain <code>href</code> attribute on those elements could reference an external document. Applications are only affected if the allowed tags are overridden to include an SVG reference element such as <code>use</code>; the default configuration is not affected.</p> <p>This change addresses GHSA-cj75-f6xr-r4g7 (CVE requested). The minimum Loofah dependency is now <code>~> 2.25, >= 2.25.2</code>.</p> <p><em>Mike Dalessio</em> <a href="https://github.com/flavorjones"><code>@flavorjones</code></a></p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rails/rails-html-sanitizer/blob/main/CHANGELOG.md">rails-html-sanitizer's changelog</a>.</em></p> <blockquote> <h2>v1.7.1 / 2026-07-15</h2> <ul> <li> <p>SVG reference elements now restrict both <code>href</code> and <code>xlink:href</code> to local references.</p> <p>Previously <code>PermitScrubber</code> restricted only <code>xlink:href</code> on elements in <code>SVG_ALLOW_LOCAL_HREF</code>, so a plain <code>href</code> attribute on those elements could reference an external document. Applications are only affected if the allowed tags are overridden to include an SVG reference element such as <code>use</code>; the default configuration is not affected.</p> <p>This change addresses GHSA-cj75-f6xr-r4g7 (CVE requested). The minimum Loofah dependency is now <code>~> 2.25, >= 2.25.2</code>.</p> <p><em>Mike Dalessio</em></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/4f37e3d9e620c627198487739d73d325c2124d18"><code>4f37e3d</code></a> version bump to v1.7.1</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/b4673b90c9d7d65e021417f5add0dba6213dde66"><code>b4673b9</code></a> Merge pull request <a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/223">#223</a> from rails/svg-href-local-ref</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/74dcb8053e6da9921246ce71b06ad9fd65b19586"><code>74dcb80</code></a> Properly restrict SVG href attributes</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/11ee44059551bef771503a5afd5914903914dd8a"><code>11ee440</code></a> Adjust data: URI mediatype tests for loofah 2.25.2 (<a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/222">#222</a>)</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/bc9622c2757f8f39460cbb2cd58f109616ff3b5a"><code>bc9622c</code></a> Harden GitHub Actions workflows (<a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/220">#220</a>)</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/3459ffd8ffbc95f03df64110778a1e305ace30ee"><code>3459ffd</code></a> dep(dev): update nokogiri (<a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/219">#219</a>)</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/8aa4bb2cb5be09e60445f96a299065f0cd36098f"><code>8aa4bb2</code></a> build(deps-dev): bump concurrent-ruby from 1.3.6 to 1.3.7 (<a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/218">#218</a>)</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/4ddc0c75f48fd454ed8ce7e1300dca252b594855"><code>4ddc0c7</code></a> dep(dev): update development dependencies (<a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/217">#217</a>)</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/f87abb4bfab91276b783ea4bb3ca080afed3c694"><code>f87abb4</code></a> Merge pull request <a href="https://redirect.github.com/rails/rails-html-sanitizer/issues/215">#215</a> from yuri-zubov/reduce-gem-size</li> <li><a href="https://github.com/rails/rails-html-sanitizer/commit/527b31708a3cb69ebae4b27aed82c9197a220d81"><code>527b317</code></a> Reduce gem size by excluding test files</li> <li>See full diff in <a href="https://github.com/rails/rails-html-sanitizer/compare/v1.7.0...v1.7.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mail](https://github.com/mikel/mail) from 2.8.1 to 2.9.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mikel/mail/releases">mail's releases</a>.</em></p> <blockquote> <h2>2.9.1</h2> <h2>What's Changed</h2> <ul> <li> <p>Add Ruby 3.4 to CI matrix in GitHub Actions workflow by <a href="https://github.com/ydah"><code>@ydah</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1653">mikel/mail#1653</a></p> </li> <li> <p>Improve decoding of Q- and B-encoded strings by <a href="https://github.com/radar"><code>@radar</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1664">mikel/mail#1664</a></p> </li> <li> <p>Bump to 2.9.1 by <a href="https://github.com/radar"><code>@radar</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1665">mikel/mail#1665</a></p> </li> <li> <p><a href="https://github.com/ydah"><code>@ydah</code></a> made their first contribution in <a href="https://redirect.github.com/mikel/mail/pull/1653">mikel/mail#1653</a></p> </li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mikel/mail/compare/2.9.0...2.9.1">https://github.com/mikel/mail/compare/2.9.0...2.9.1</a></p> <h2>v2.9.0</h2> <h2>What's Changed</h2> <ul> <li>Fix little typo by <a href="https://github.com/nbennke"><code>@nbennke</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1462">mikel/mail#1462</a></li> <li>2.8.0.rc1 Regression: Preserve message-level charset when adding parts (related to Rails ActionMailer) by <a href="https://github.com/johnnyshields"><code>@johnnyshields</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1495">mikel/mail#1495</a></li> <li>Use Rake's default rakelib/ directory by <a href="https://github.com/olleolleolle"><code>@olleolleolle</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1488">mikel/mail#1488</a></li> <li>refactor: Use Dir.glob only once in gemspec's "files" directive by <a href="https://github.com/olleolleolle"><code>@olleolleolle</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1486">mikel/mail#1486</a></li> <li>Configure RSpec's zero-monkey patching mode by <a href="https://github.com/olleolleolle"><code>@olleolleolle</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1485">mikel/mail#1485</a></li> <li>Remove unnecessary gemfile dependency on strscan by <a href="https://github.com/deivid-rodriguez"><code>@deivid-rodriguez</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1483">mikel/mail#1483</a></li> <li>README: sending multipart mail by <a href="https://github.com/kapfenho"><code>@kapfenho</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1479">mikel/mail#1479</a></li> <li>Add <code>delivery_interceptors</code> method to <code>Mail</code> class to fetch registered interceptors by <a href="https://github.com/ghousemohamed"><code>@ghousemohamed</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1475">mikel/mail#1475</a></li> <li>Update MIME-Version to have correct case per the RFC by <a href="https://github.com/mikel"><code>@mikel</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1503">mikel/mail#1503</a></li> <li>Adding explicit JRuby support by <a href="https://github.com/mikel"><code>@mikel</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1508">mikel/mail#1508</a></li> <li>refactor: Use Ruby 2's <strong>dir</strong> where possible by <a href="https://github.com/olleolleolle"><code>@olleolleolle</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1487">mikel/mail#1487</a></li> <li>[Corrected] Layout/TrailingWhitespace: Trailing whitespace detected. by <a href="https://github.com/mikel"><code>@mikel</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1510">mikel/mail#1510</a></li> <li>Improve documentation by <a href="https://github.com/fwolfst"><code>@fwolfst</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1371">mikel/mail#1371</a></li> <li>Span => Spam by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1320">mikel/mail#1320</a></li> <li>use unpack1 by <a href="https://github.com/ahorek"><code>@ahorek</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1513">mikel/mail#1513</a></li> <li>Lazy-load fields and elements by <a href="https://github.com/c960657"><code>@c960657</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1491">mikel/mail#1491</a></li> <li>Install libyaml-dev for Psych by <a href="https://github.com/c960657"><code>@c960657</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1522">mikel/mail#1522</a></li> <li>Feature/parse lf by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1520">mikel/mail#1520</a></li> <li>use match? by <a href="https://github.com/ahorek"><code>@ahorek</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1514">mikel/mail#1514</a></li> <li>Bump actions/checkout to v3 by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1535">mikel/mail#1535</a></li> <li>Fix for <a href="https://redirect.github.com/mikel/mail/issues/1527">#1527</a> by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1534">mikel/mail#1534</a></li> <li>Standardise on WARNING: prefix by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1533">mikel/mail#1533</a></li> <li>Checks are in the wrong place by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1531">mikel/mail#1531</a></li> <li>Allow manual trigger by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1524">mikel/mail#1524</a></li> <li>Handle parsing of LF-only body with separate parts by <a href="https://github.com/mikel"><code>@mikel</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1511">mikel/mail#1511</a></li> <li>Make activesupport gem optional by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1532">mikel/mail#1532</a></li> <li>SMTP: refactor and accept starttls :always and :auto by <a href="https://github.com/eval"><code>@eval</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1536">mikel/mail#1536</a></li> <li>Adds Ruby 3.2 to the CI matrix by <a href="https://github.com/petergoldstein"><code>@petergoldstein</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1552">mikel/mail#1552</a></li> <li>Layout conventions are not the same as syntax by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1558">mikel/mail#1558</a></li> <li>Don't shadow local variable by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1318">mikel/mail#1318</a></li> <li>Revert PR <a href="https://redirect.github.com/mikel/mail/issues/1495">#1495</a> because it is a dupe of <a href="https://redirect.github.com/mikel/mail/issues/1470">#1470</a> by <a href="https://github.com/johnnyshields"><code>@johnnyshields</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1559">mikel/mail#1559</a></li> <li>Add Ruby 3.3 to CI matrix by <a href="https://github.com/m-nakamura145"><code>@m-nakamura145</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1595">mikel/mail#1595</a></li> <li>TruffleRuby is flaky by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1599">mikel/mail#1599</a></li> <li>Use require_relative where possible by <a href="https://github.com/eval"><code>@eval</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1598">mikel/mail#1598</a></li> <li>Test string is 1 char short of 78 by <a href="https://github.com/sebbASF"><code>@sebbASF</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1568">mikel/mail#1568</a></li> <li>Update documentation regarding errors array by <a href="https://github.com/mikehale"><code>@mikehale</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1605">mikel/mail#1605</a></li> <li>Fix all 'assigned but unused variable' warnings by <a href="https://github.com/skipkayhil"><code>@skipkayhil</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1551">mikel/mail#1551</a></li> <li>Fix IMAP search issues by <a href="https://github.com/nevans"><code>@nevans</code></a> in <a href="https://redirect.github.com/mikel/mail/pull/1611">mikel/mail#1611</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mikel/mail/commit/d645d7b5b7d03218b0bc8971ef041c991a63f5f7"><code>d645d7b</code></a> Merge pull request <a href="https://redirect.github.com/mikel/mail/issues/1665">#1665</a> from mikel/tag-291</li> <li><a href="https://github.com/mikel/mail/commit/5c863ed0489571e7572669018739dc47ed1f9189"><code>5c863ed</code></a> Bump to 2.9.1</li> <li><a href="https://github.com/mikel/mail/commit/14915fa4c5f30ade18f3745ecc6d5d141a48104d"><code>14915fa</code></a> Merge pull request <a href="https://redirect.github.com/mikel/mail/issues/1664">#1664</a> from mikel/sec</li> <li><a href="https://github.com/mikel/mail/commit/4eab5623419079d6b972f063f16b536c02ecee62"><code>4eab562</code></a> Potential fix for pull request finding</li> <li><a href="https://github.com/mikel/mail/commit/f9d59c2e447af42e2c3dec5a56b1bb25c7292859"><code>f9d59c2</code></a> Improve decoding of Q- and B-encoded strings</li> <li><a href="https://github.com/mikel/mail/commit/f98fb653956d246661394b1e98cf6e77eb8dd0a0"><code>f98fb65</code></a> Merge pull request <a href="https://redirect.github.com/mikel/mail/issues/1653">#1653</a> from ydah/add-ci-matrix</li> <li><a href="https://github.com/mikel/mail/commit/d9081000b1c3e9a07f2b58e0e6c0b8f360bc8c8f"><code>d908100</code></a> Add Ruby 3.4 to CI matrix in GitHub Actions workflow</li> <li><a href="https://github.com/mikel/mail/commit/d1d65b370b109b98e673a934e8b70a0c1f58cc59"><code>d1d65b3</code></a> Merge pull request <a href="https://redirect.github.com/mikel/mail/issues/1330">#1330</a> from jeremyevans/content-type-regression-fix</li> <li><a href="https://github.com/mikel/mail/commit/30302c779d4f3250f6fccbe1361fac54449d7732"><code>30302c7</code></a> Merge pull request <a href="https://redirect.github.com/mikel/mail/issues/1619">#1619</a> from yahonda/add_dependency_logger</li> <li><a href="https://github.com/mikel/mail/commit/182f2beaeef716f3b003b9916d40251f4ae12317"><code>182f2be</code></a> Merge pull request <a href="https://redirect.github.com/mikel/mail/issues/1620">#1620</a> from yahonda/address_uri_rfc_3986_parser_warnings</li> <li>Additional commits viewable in <a href="https://github.com/mikel/mail/compare/2.8.1...2.9.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [activestorage](https://github.com/rails/rails) from 8.0.4.1 to 8.0.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rails/rails/releases">activestorage's releases</a>.</em></p> <blockquote> <h2>8.0.5.1</h2> <h2>Active Support</h2> <ul> <li>No changes.</li> </ul> <h2>Active Model</h2> <ul> <li>No changes.</li> </ul> <h2>Active Record</h2> <ul> <li>No changes.</li> </ul> <h2>Action View</h2> <ul> <li>No changes.</li> </ul> <h2>Action Pack</h2> <ul> <li>No changes.</li> </ul> <h2>Active Job</h2> <ul> <li>No changes.</li> </ul> <h2>Action Mailer</h2> <ul> <li>No changes.</li> </ul> <h2>Action Cable</h2> <ul> <li>No changes.</li> </ul> <h2>Active Storage</h2> <ul> <li> <p>Disable libvips's unfuzzed image loaders and savers.</p> <p>libvips flags some of its loaders and savers as "unfuzzed" or "untrusted", meaning they are only safe for trusted content. Active Storage will call <code>Vips.block_untrusted(true)</code> to disable them while booting. An application that needs a specific loader or saver may re-enable it in an initializer.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rails/rails/commit/beef74d4cebf42a01cd1df79e9de00df725b64fd"><code>beef74d</code></a> Preparing for 8.0.5.1 release</li> <li><a href="https://github.com/rails/rails/commit/1c01bb587206ee6eb0e1179c2cef96a6a47acb1e"><code>1c01bb5</code></a> Disable libvips's unfuzzed image loaders and savers</li> <li><a href="https://github.com/rails/rails/commit/eb126bb140127d3589ad9be093a845e24fc4f475"><code>eb126bb</code></a> Preparing for 8.0.5 release</li> <li><a href="https://github.com/rails/rails/commit/f7fe4a5297dac5e1184747ce53e0305c56f487c3"><code>f7fe4a5</code></a> Merge branch '8-0-sec' into 8-0-stable</li> <li><a href="https://github.com/rails/rails/commit/3dc1be9084c93d5b5990476bd153c18ae0ba3f4f"><code>3dc1be9</code></a> Merge pull request <a href="https://redirect.github.com/rails/rails/issues/56783">#56783</a> from kudoas/fix-activestorage-blob-content-type-nil</li> <li><a href="https://github.com/rails/rails/commit/0072d3e8737781d17f6c67bbd385cf9d78c80c99"><code>0072d3e</code></a> Merge pull request <a href="https://redirect.github.com/rails/rails/issues/56125">#56125</a> from zzak/re-56069</li> <li>See full diff in <a href="https://github.com/rails/rails/compare/v8.0.4.1...v8.0.5.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## What Wording changes to the password reset instructions and password change confirmation emails. Both the HTML and text templates are updated, with the strings in `config/locales/devise.en.yml`. ## Reset password instructions Reworded throughout. Also adds a line stating when the link expires, which wasn't mentioned before: `reset_password_within` is 1 hour, which is short enough that someone opening the email the next morning hits an invalid-token error with no explanation. The duration is interpolated from `Devise.reset_password_within` in `CustomDeviseMailer` rather than hardcoded, so it can't drift from the config. ## Password change confirmation Reworded, and the warning split into two paragraphs: one confirming no action is needed if the
This branch was successfully deployed
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.
Ten security fixes from the security assessment:
Findings addressed
passwordandpassword_confirmationremoved fromUserPolicypermitted attributes, closing an unintended password-change path viaPUT /users/{id}. Makes/auththe sole password-change route, which Invalidate other sessions on password change #507 depends on.navigational_formatsassignment that made a GET auth failure without a JSON Accept header return 500.POST /auth/activityis a client heartbeat and the only writer, coalesced to roughly one write per token per two minutes. Token rotation is off because of batch import contention, so DTA's native sliding expiry was unavailable.Configuration
SESSION_INACTIVITY_MINUTESoverrides the 30 minute threshold, falling back to 30 when unset or non-numeric. Confirm it is unset or set to 30 on production.CLIENT_RESET_LINK_INVALID_PATHcontrols the invalid-reset-link redirect target, defaulting tonot-found. The client-side link-invalid page does not exist yet, so this currently lands on the not-found page.Migration
CreateTokenActivitiesadds thetoken_activitiestable. It does not backfill, so every session live at deploy time will be rejected on its next request and users will need to sign in again.Note
The server rejects idle sessions whether or not the client pings, so the client release must not lag the server release: a client without the heartbeat would log users out after 30 minutes of working without making requests, with no warning.