Skip to content

fix(deps): bump the bundler-minor-patch group across 1 directory with 2 updates - #197

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/bundler/develop/bundler-minor-patch-d093dee646
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/bundler/develop/bundler-minor-patch-d093dee646

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 4, 2026

Copy link
Copy Markdown
Contributor

Bumps the bundler-minor-patch group with 2 updates in the / directory: omniauth-google-oauth2 and image_processing.

Updates omniauth-google-oauth2 from 1.2.2 to 1.2.3

Release notes

Sourced from omniauth-google-oauth2's releases.

v1.2.3

Security

  • Verify caller-supplied ID tokens against Google's published signing keys before trusting them. An ID token sent alongside a direct access_token callback was previously decoded without checking its signature, so extra.id_info and extra.id_token could be populated from a forged token. uid and info were never affected, as they come from the userinfo endpoint. A caller-supplied ID token genuinely issued by Google for the same user and a trusted client continues to be accepted after verification.
  • Require a caller-supplied ID token to describe the same user as the access token it was sent with, by comparing the token's sub against the userinfo subject. A verified signature only proves Google issued the token, not that it belongs to the person the access token identifies, so without this a genuine ID token for one user could be paired with an access token for another and leave uid and extra.id_info describing different people. The at_hash claim is checked first as a fast path, and this subject check settles the cases at_hash cannot: tokens that omit the claim, and tokens whose at_hash is stale because the client refreshed its access token after sign-in. This check runs even when skip_info is set, as that option trims the auth hash rather than waiving verification.
  • The bundled example app no longer disables TLS certificate verification. Anyone who copied that line into an application should remove it: it turns off certificate checking for every Faraday-based request in the process, not just the ones this gem makes.

Added

  • reset_jwks_cache! for clearing the cached Google signing keys between tests.
  • cached_jwks, the class-level fetch-and-cache primitive behind it, which takes the fetch itself as a block.
  • JWKS_URL, JWKS_CACHE_TTL, and JWKS_RETRY_INTERVAL constants, and a JwksUnavailable error.
  • An upper bound of < 4 on the jwt dependency. This is precautionary rather than a response to a released version: it keeps a future major release from being picked up before it has been verified against this strategy.

Deprecated

  • Nothing.

Removed

  • The fallback that placed the opaque access token in extra.id_token when no ID token was present. extra.id_token is now absent in that case rather than holding a value that was never an ID token. This was only reachable with skip_jwt set; without it the fallback raised instead.

Fixed

  • Ignore every credential field a caller supplies in a direct access-token callback apart from the access token itself and a verified ID token. refresh_token and token expiry in particular cannot be verified, so they are no longer carried through.
  • Avoid decoding opaque access tokens as JWTs when no ID token is available.
  • Fail with a normal authentication failure when a callback carries no usable credential, such as an ID token with no access token, a JSON body that is not an object, or an unparseable body. Previously these raised a NoMethodError or TypeError that OmniAuth turned into a failure whose message was the raw Ruby error, so applications received an unstable message parameter such as undefined method 'expired?' instead of invalid_credentials.
  • Serve the cached signing keys when Google's key endpoint is briefly unreachable, and back off before refetching, rather than retrying on every request, including when nothing is cached yet.
  • Reject a signing key response that is not an object with a keys array, rather than passing it on to be interpreted as some other kind of key.
  • Cap how often an ID token naming an unrecognised key can force a key refresh, so it cannot be used to drive unbounded outbound requests while holding the shared cache lock. Key rotation still resolves within JWKS_RETRY_INTERVAL.
  • jwt_leeway now also applies when verifying caller-supplied ID tokens, matching how it already behaved for the extra block.
  • Support non-rewindable JSON request bodies under Rack 3.
  • Accept ID tokens issued to any configured authorized_client_ids, matching the audiences already accepted for access tokens.
  • Reuse successfully verified ID token claims when building extra, so each ID token is decoded and validated only once per request.
Changelog

Sourced from omniauth-google-oauth2's changelog.

1.2.3 - 2026-08-31

Security

  • Verify caller-supplied ID tokens against Google's published signing keys before trusting them. An ID token sent alongside a direct access_token callback was previously decoded without checking its signature, so extra.id_info and extra.id_token could be populated from a forged token. uid and info were never affected, as they come from the userinfo endpoint. A caller-supplied ID token genuinely issued by Google for the same user and a trusted client continues to be accepted after verification.
  • Require a caller-supplied ID token to describe the same user as the access token it was sent with, by comparing the token's sub against the userinfo subject. A verified signature only proves Google issued the token, not that it belongs to the person the access token identifies, so without this a genuine ID token for one user could be paired with an access token for another and leave uid and extra.id_info describing different people. The at_hash claim is checked first as a fast path, and this subject check settles the cases at_hash cannot: tokens that omit the claim, and tokens whose at_hash is stale because the client refreshed its access token after sign-in. This check runs even when skip_info is set, as that option trims the auth hash rather than waiving verification.
  • The bundled example app no longer disables TLS certificate verification. Anyone who copied that line into an application should remove it: it turns off certificate checking for every Faraday-based request in the process, not just the ones this gem makes.

Added

  • reset_jwks_cache! for clearing the cached Google signing keys between tests.
  • cached_jwks, the class-level fetch-and-cache primitive behind it, which takes the fetch itself as a block.
  • JWKS_URL, JWKS_CACHE_TTL, and JWKS_RETRY_INTERVAL constants, and a JwksUnavailable error.
  • An upper bound of < 4 on the jwt dependency. This is precautionary rather than a response to a released version: it keeps a future major release from being picked up before it has been verified against this strategy.

Deprecated

  • Nothing.

Removed

  • The fallback that placed the opaque access token in extra.id_token when no ID token was present. extra.id_token is now absent in that case rather than holding a value that was never an ID token. This was only reachable with skip_jwt set; without it the fallback raised instead.

Fixed

  • Ignore every credential field a caller supplies in a direct access-token callback apart from the access token itself and a verified ID token. refresh_token and token expiry in particular cannot be verified, so they are no longer carried through.
  • Avoid decoding opaque access tokens as JWTs when no ID token is available.
  • Fail with a normal authentication failure when a callback carries no usable credential, such as an ID token with no access token, a JSON body that is not an object, or an unparseable body. Previously these raised a NoMethodError or TypeError that OmniAuth turned into a failure whose message was the raw Ruby error, so applications received an unstable message parameter such as undefined method 'expired?' instead of invalid_credentials.
  • Serve the cached signing keys when Google's key endpoint is briefly unreachable, and back off before refetching, rather than retrying on every request, including when nothing is cached yet.
  • Reject a signing key response that is not an object with a keys array, rather than passing it on to be interpreted as some other kind of key.
  • Cap how often an ID token naming an unrecognised key can force a key refresh, so it cannot be used to drive unbounded outbound requests while holding the shared cache lock. Key rotation still resolves within JWKS_RETRY_INTERVAL.
  • jwt_leeway now also applies when verifying caller-supplied ID tokens, matching how it already behaved for the extra block.
  • Support non-rewindable JSON request bodies under Rack 3.
  • Accept ID tokens issued to any configured authorized_client_ids, matching the audiences already accepted for access tokens.
  • Reuse successfully verified ID token claims when building extra, so each ID token is decoded and validated only once per request.
Commits
  • c2fa91f Fix token info cache keying and log injection, and require core ID token claims
  • c6af73e Reduce redundant JWKS cache timestamp calculations
  • 778c990 Tiny README.md correction
  • eae8feb Clarify CHANGELOG.md
  • ef303e6 Accept ID tokens from authorized client IDs and fix Ruby 2.5 compatibility
  • e5be50e Verify caller-supplied ID tokens against Google's signing keys and bind them ...
  • 650aab9 Update example to show AJAX payloads
  • 0b87f3f Fix ID token spoofing in direct access-token callbacks
  • 41796b6 specify that jwt must be less than version 4 (#476)
  • 5559071 Better CHANGELOG.md
  • See full diff in compare view

Updates image_processing from 2.0.3 to 2.1.0

Changelog

Sourced from image_processing's changelog.

2.1.0 (2026-09-01)

  • [minimagick] Add inherit_fds: so a loader can name an already-open input (thanks to @​flavorjones)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

… 2 updates

Bumps the bundler-minor-patch group with 2 updates in the / directory: [omniauth-google-oauth2](https://github.com/zquestz/omniauth-google-oauth2) and [image_processing](https://github.com/janko/image_processing).


Updates `omniauth-google-oauth2` from 1.2.2 to 1.2.3
- [Release notes](https://github.com/zquestz/omniauth-google-oauth2/releases)
- [Changelog](https://github.com/zquestz/omniauth-google-oauth2/blob/master/CHANGELOG.md)
- [Commits](zquestz/omniauth-google-oauth2@v1.2.2...v1.2.3)

Updates `image_processing` from 2.0.3 to 2.1.0
- [Changelog](https://github.com/janko/image_processing/blob/master/CHANGELOG.md)
- [Commits](janko/image_processing@v2.0.3...v2.1.0)

---
updated-dependencies:
- dependency-name: omniauth-google-oauth2
  dependency-version: 1.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: bundler-minor-patch
- dependency-name: image_processing
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: bundler-minor-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Sep 4, 2026
@artempartos

Copy link
Copy Markdown
Contributor

Already on develop: these updates were cherry-picked into the batched PR #200 (merged as 88f6073), so nothing is left to apply here.

@artempartos artempartos closed this Sep 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/bundler/develop/bundler-minor-patch-d093dee646 branch September 5, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant