Repository navigation
Colby's first batch of missing reports. #1347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| --- | ||
| gem: grpc | ||
| ghsa: p3vr-xp4c-r8fh | ||
| url: https://github.com/grpc/grpc/security/advisories/GHSA-p3vr-xp4c-r8fh | ||
| title: gRPC Ruby trusts compromised certificate authorities | ||
| date: 2026-10-28 | ||
| description: | | ||
| ### Summary | ||
|
|
||
| gRPC Ruby (the [grpc](https://rubygems.org/gems/grpc) gem) verifies TLS | ||
| connections against its bundled root certificate store (`roots.pem`) by | ||
| default. In affected versions, this store trusts certificates issued by eight | ||
| eMudhra intermediate CAs whose private keys are | ||
| [compromised](https://emudhra.we-have-a-problem.com/). These intermediates | ||
| have been revoked, but they still chain to the bundled `emSign ECC Root CA - | ||
| G3` root. | ||
|
|
||
| An attacker with one of the compromised keys can issue certificates for any | ||
| hostname, and gRPC Ruby accepts them. An attacker who also has an on-path | ||
| position can intercept or modify gRPC traffic. | ||
|
|
||
| Upgrade to the patched version for your release line, or to 1.84.1 or later. | ||
|
|
||
| ### Details | ||
|
|
||
| The bundled store is separate from the operating system's trust store. On its | ||
| own, updating the OS store (for example, `ca-certificates`) doesn't affect it. | ||
| gRPC doesn't check certificate revocation (CRL/OCSP) by default, so revoking | ||
| the intermediates doesn't mitigate the issue. gRPC also doesn't enforce | ||
| Certificate Transparency, so it accepts certificates that were never publicly | ||
| logged. | ||
|
|
||
| Sectigo's `AAA Certificate Services` has also cross-signed the compromised | ||
| intermediates. Older gRPC Ruby releases bundle that root as well, so they're | ||
| affected even if they predate the emSign root. The patched releases trust | ||
| neither root. | ||
|
|
||
| ### Workarounds | ||
|
|
||
| If you can't upgrade the `grpc` gem, first make sure the system CA bundle is | ||
| up to date. For example, on Debian 13 (trixie), update the `ca-certificates` | ||
| package to `20250419+deb13u1` or later | ||
| ([DSA-6572-1](https://security-tracker.debian.org/tracker/DSA-6572-1)). Then | ||
| point gRPC Ruby at that bundle by setting the | ||
| `GRPC_DEFAULT_SSL_ROOTS_FILE_PATH` environment variable before starting your | ||
| application. On Debian, that bundle is at | ||
| `/etc/ssl/certs/ca-certificates.crt`: | ||
|
|
||
| ```sh | ||
| export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH="/etc/ssl/certs/ca-certificates.crt" | ||
| ``` | ||
|
|
||
| gRPC Ruby then uses this file instead of its bundled roots. If the file is | ||
| missing or unreadable, gRPC Ruby logs an error and falls back to the bundled | ||
| roots. | ||
|
|
||
| ### References | ||
|
|
||
| - https://emudhra.we-have-a-problem.com/ | ||
| - https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/0R3XLJL6FuE/m/0XofdebrAAAJ | ||
| - [GHSA-6q48-6c7w-9gw2](https://github.com/advisories/GHSA-6q48-6c7w-9gw2) | ||
| (certifi) | ||
| - https://github.com/grpc/grpc/commit/8b32af3bf498c2ba9667410eaa8c836e700e97e6 | ||
| (fix) | ||
| - [GHSA-2xm2-c8xx-p9vh](https://github.com/grpc/grpc/security/advisories/GHSA-2xm2-c8xx-p9vh) | ||
| (gRPC Python) | ||
| - [GHSA-gvrc-7wf9-p7hg](https://github.com/grpc/grpc/security/advisories/GHSA-gvrc-7wf9-p7hg) | ||
| (gRPC PHP) | ||
| - [GHSA-mm89-g5jq-mmfq](https://github.com/grpc/grpc/security/advisories/GHSA-mm89-g5jq-mmfq) | ||
| (gRPC Objective-C) | ||
| cvss_v4: 9.1 | ||
| patched_versions: | ||
| - ">= 1.78.2, < 1.80.0.a" | ||
| - ">= 1.80.1, < 1.81.0.a" | ||
| - ">= 1.81.2, < 1.82.0.a" | ||
| - ">= 1.82.3, < 1.83.0.a" | ||
| - ">= 1.83.2, < 1.84.0.a" | ||
| - ">= 1.84.1" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| --- | ||
| gem: image_processing | ||
| ghsa: jm85-wxjw-3vv5 | ||
| url: https://github.com/janko/image_processing/security/advisories/GHSA-jm85-wxjw-3vv5 | ||
| title: Code execution through image_processing operation dispatch | ||
| date: 2026-11-21 | ||
| description: | | ||
| ### Impact | ||
|
|
||
| When operations passed to `#apply` come from unsanitized user input, an | ||
| attacker can execute arbitrary Ruby code by going through the `#operation` | ||
| meta-builder. | ||
|
|
||
| This bypasses both the `public_send` fix for CVE-2022-24720 (1.12.2) and the | ||
| operation denylist added in 2.0.0. It affects both `ImageProcessing::Vips` and | ||
| `ImageProcessing::MiniMagick`, regardless of the web framework. | ||
|
|
||
| ### Patches | ||
|
|
||
| The vulnerability has been fixed in version 2.0.3 of image_processing, which | ||
| validates operation names at the point of dispatch, covering `#operation`, | ||
| `#method_missing` and nested `#send` calls. Version 2.2.1 replaces the | ||
| denylist with an allowlist of known operation owners, so upgrading to the | ||
| latest version is recommended. | ||
|
|
||
| ### Workarounds | ||
|
|
||
| Sanitize user input by allowing only a constrained set of operations before | ||
| passing them to `#apply`: | ||
|
|
||
| ```rb | ||
| ALLOWED = %w[resize_to_limit resize_to_fill strip] | ||
| operations = params[:operations] | ||
| .map { |operation| [operation[:name], *operation[:value]] } | ||
| .select { |name, *| ALLOWED.include?(name.to_s) } | ||
|
|
||
| ImageProcessing::Vips.apply(operations) | ||
| ``` | ||
| cvss_v3: 9.8 | ||
| patched_versions: | ||
| - ">= 2.0.3" | ||
| related: | ||
| cve: | ||
| - 2022-24720 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| gem: image_processing | ||
| ghsa: v99p-m5vm-fqqc | ||
| url: https://github.com/janko/image_processing/security/advisories/GHSA-v99p-m5vm-fqqc | ||
| title: Command execution through MiniMagick option names | ||
| date: 2026-11-21 | ||
| description: | | ||
| ### Impact | ||
|
|
||
| When MiniMagick loader or saver option names come from unsanitized user input, | ||
| an attacker can execute arbitrary shell commands. | ||
|
|
||
| The fix for CVE-2022-24720 (GHSA-cxf7-qrc5-9446) only covered `#apply`, so | ||
| applications that sanitize `#apply` input but pass user-controlled option | ||
| names to `#loader` or `#saver` remain vulnerable. Exploitation does not depend | ||
| on the web framework: this affects Rails, Sinatra, Hanami and plain Ruby | ||
| scripts or CLI tools alike. `ImageProcessing::Vips` is not affected. | ||
|
|
||
| ### Patches | ||
|
|
||
| The vulnerability has been fixed in version 2.0.1 of image_processing, which | ||
| dispatches loader/saver options with `public_send`. Later releases (2.0.3, | ||
| 2.2.1) harden this path further, so upgrading to the latest version is | ||
| recommended. | ||
|
|
||
| ### Workarounds | ||
|
|
||
| Never pass user-controlled hash keys to `#loader` or `#saver`. If option names | ||
| need to come from user input, filter them against an allowlist of the options | ||
| you support: | ||
|
|
||
| ```rb | ||
| ALLOWED = %w[quality strip interlace] | ||
| options = params[:saver].to_h.select { |name, _| ALLOWED.include?(name) } | ||
|
|
||
| ImageProcessing::MiniMagick.source(file).saver(**options.transform_keys(&:to_sym)).call | ||
| ``` | ||
| cvss_v3: 9.8 | ||
| patched_versions: | ||
| - ">= 2.0.1" | ||
| related: | ||
| cve: | ||
| - 2022-24720 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| gem: oauth2 | ||
| ghsa: h4fh-g8xf-8255 | ||
| url: https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-h4fh-g8xf-8255 | ||
| title: OAuth credentials can leak across cross-origin redirects | ||
| date: 2026-10-26 | ||
| description: | | ||
| ## Summary | ||
|
|
||
| `OAuth2::Client#request` follows cross-origin HTTP redirects (301, 302, 303, | ||
| 307). The redirect hardening shipped in 2.0.22 for CVE-2026-54603 / | ||
| GHSA-pp92-crg2-gfv9 added `sanitize_redirect_options`, which strips **only** | ||
| the `Authorization` request header. | ||
|
|
||
| The leak occurs under the default configuration (`token_method: :post`, | ||
| `auth_scheme: :basic_auth`): the default token refresh sends the long-lived | ||
| `refresh_token` in the POST body. | ||
|
|
||
| ## Affected Versions / Fixed In | ||
|
|
||
| - **Vulnerable**: `oauth2` `>= 2.0.22, < 2.1.0` (the header-only sanitizer was | ||
| introduced by the 2.0.22 fix; versions `<= 2.0.21` are covered by | ||
| CVE-2026-54603 itself). | ||
|
simi marked this conversation as resolved.
Resolved
|
||
| - **Vulnerable on the 1.4.x line**: `oauth2` `>= 1.4.0, < 1.4.12`. | ||
| - **Fixed**: `1.4.12` and `2.1.0`. Version `2.1.0` rejects cross-origin | ||
| redirects by default before any credential channel can be replayed. | ||
| - **2.0.26** ships the protection as an opt-in for compatibility: set | ||
| `allow_cross_origin_redirects: false` on `OAuth2::Client.new` to get the | ||
| 2.1.0 behavior. On 2.0.26 with the default option value the client remains | ||
| vulnerable. | ||
| - **Interim mitigation** (any version): `max_redirects: 0` disables redirect | ||
| following entirely. | ||
|
|
||
| ## The Fix | ||
|
|
||
| `OAuth2::Client` gains an `allow_cross_origin_redirects` option, defaulting to | ||
| `false` in 2.1.0. When a redirect crosses scheme, host, or port, the client | ||
| raises `OAuth2::CrossOriginRedirectError` (an `OAuth2::Error` subclass with | ||
| stable `code == "cross_origin_redirect_blocked"`) **before** the request is | ||
| replayed — covering headers, body, query params, and connection defaults | ||
| alike, per RFC 6749 §3.2, RFC 9700 (OAuth 2.0 Security BCP) §§2.1 and 4.12, | ||
| and draft-ietf-oauth-v2-1 §7.5.3. The error message never includes the | ||
| redirect `Location` value and the redirect response body is never parsed. | ||
| Same-origin redirects continue to work; `allow_cross_origin_redirects: true` | ||
| restores the legacy behavior (and its risk) where a trusted cross-origin | ||
| target genuinely requires it — in that case configure the final HTTPS endpoint | ||
| directly where possible, and never rely on credential stripping. | ||
| cvss_v3: 9.3 | ||
| unaffected_versions: | ||
| - "< 1.4.0" | ||
| - ">= 1.5, < 2.0.22" | ||
| patched_versions: | ||
| - ">= 1.4.12, < 1.5" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤖 RubyGems has no Should we keep this range as upstream states it, or drop it (and the "Fixed: 1.4.12" line) until 1.4.12 is published? |
||
| - ">= 2.1.0" | ||
| related: | ||
| cve: | ||
| - 2026-54603 | ||
| url: | ||
| - https://rubygems.org/gems/oauth2/versions/2.1.0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| gem: passenger | ||
| ghsa: h72w-932f-78mf | ||
| url: https://github.com/phusion/passenger/security/advisories/GHSA-h72w-932f-78mf | ||
| title: Unauthenticated command execution in Passenger | ||
| date: 2026-11-16 | ||
| description: | | ||
| ### Summary | ||
|
|
||
| Configuration-dependent unauthenticated command-execution vulnerability in | ||
| Passenger's Nginx and Apache frontend-to-Core metadata serialization. | ||
|
|
||
| ### Impact | ||
|
|
||
| unauthenticated OS command execution as the Passenger application account | ||
| cvss_v3: 10.0 | ||
| patched_versions: | ||
| - ">= 6.2.2, < 7.0.0" | ||
| - ">= 7.0.1" | ||
| related: | ||
| url: | ||
| - https://rubygems.org/gems/passenger/versions/6.2.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| gem: pay | ||
| ghsa: 5p37-w3f3-55pm | ||
| url: https://github.com/pay-rails/pay/security/advisories/GHSA-5p37-w3f3-55pm | ||
| title: Webhook signature bypass for Paddle Billing in Pay | ||
| date: 2026-10-06 | ||
| description: | | ||
|
simi marked this conversation as resolved.
Resolved
|
||
| `Pay::Webhooks::PaddleBillingController#valid_signature?` computes an | ||
| HMAC-SHA256 signature using `Pay::PaddleBilling.signing_secret.to_s` as the | ||
| key. When the `PADDLE_BILLING_SIGNING_SECRET` environment variable and Rails | ||
| credentials are both unset, `signing_secret` returns `nil`, and `.to_s` | ||
| coerces it to an empty string. Forged Paddle Billing webhook events can pass | ||
| signature verification. | ||
|
|
||
| The `.to_s` coercion on `signing_secret` was introduced in commit 4773c97 | ||
| ("Share one base controller across the five webhook controllers"), first | ||
| released in v12.0.0. | ||
| cvss_v3: 8.2 | ||
| unaffected_versions: | ||
| - "< 12.0.0" | ||
| patched_versions: | ||
| - ">= 12.1.1" | ||
| related: | ||
| url: | ||
| - https://rubygems.org/gems/pay/versions/12.1.1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| gem: pay | ||
| ghsa: 6mr3-672j-v5hf | ||
| url: https://github.com/pay-rails/pay/security/advisories/GHSA-6mr3-672j-v5hf | ||
| title: Webhook signature bypass for Lemon Squeezy in Pay | ||
| date: 2026-10-06 | ||
| description: | | ||
| `Pay::Webhooks::LemonSqueezyController#valid_signature?` computes an | ||
| HMAC-SHA256 signature using `Pay::LemonSqueezy.signing_secret.to_s` as the | ||
| key. When the `LEMON_SQUEEZY_SIGNING_SECRET` environment variable and Rails | ||
| credentials are both unset, `signing_secret` returns `nil`, and `.to_s` | ||
| coerces it to an empty string. Forged Lemon Squeezy webhook events can pass | ||
| signature verification. | ||
|
|
||
| The `.to_s` coercion on `signing_secret` was introduced in commit 4773c97 | ||
| ("Share one base controller across the five webhook controllers"), first | ||
| released in v12.0.0. | ||
| cvss_v3: 8.2 | ||
| unaffected_versions: | ||
| - "< 12.0.0" | ||
| patched_versions: | ||
| - ">= 12.1.1" | ||
| related: | ||
| url: | ||
| - https://rubygems.org/gems/pay/versions/12.1.1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| gem: rack | ||
| ghsa: 58mf-c3jj-277p | ||
| url: https://github.com/rack/rack/security/advisories/GHSA-58mf-c3jj-277p | ||
| title: CPU exhaustion in the Rack multipart parser | ||
| date: 2026-11-20 | ||
| description: | | ||
| ## Summary | ||
|
|
||
| `Rack::Multipart::Parser#tag_multipart_encoding` calls `Encoding.find` once | ||
| for every `charset` parameter in the `Content-Type` header of a multipart | ||
| part. When the name is not a known encoding, Ruby's `Encoding.find` attempts | ||
| to load an encoding library of that name, which searches every directory on | ||
| `$LOAD_PATH` before failing. | ||
|
|
||
| In Rack 2.2, the `ArgumentError` raised by the first unknown `charset` aborts | ||
| parsing after a single lookup. | ||
|
|
||
| ## Impact | ||
|
|
||
| Any application that parses multipart bodies through `Rack::Request#POST` or | ||
| `#params` is affected in its default configuration. | ||
|
|
||
| ## Mitigation | ||
|
|
||
| * Update to a patched version of Rack, in which `Encoding.find` is only called | ||
| for names present in `Encoding.name_list`, so unknown `charset` values are | ||
| mapped to binary without searching the load path. | ||
| * At a reverse proxy, limit the size of multipart requests and reject requests | ||
| whose part headers contain many repeated `charset` parameters. | ||
| cvss_v3: 7.5 | ||
| unaffected_versions: | ||
| - "< 3.0" | ||
|
simi marked this conversation as resolved.
Resolved
|
||
| patched_versions: | ||
| - ">= 3.1.24, < 3.2" | ||
| - ">= 3.2.9" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| --- | ||
| gem: websocket-driver | ||
| cve: 2026-140015 | ||
| ghsa: 7c6x-34q5-4g2j | ||
| url: https://www.cve.org/CVERecord?id=CVE-2026-140015 | ||
| title: Memory exhaustion after WebSocket close | ||
| date: 2026-11-26 | ||
| description: | | ||
| ### Impact | ||
|
|
||
| A server using `websocket-driver` can be made to run out of memory and crash | ||
| by an unauthenticated remote attacker by sending sufficient data over a single | ||
| socket. | ||
|
|
||
| ### Details | ||
|
|
||
| This has been mitigated by destroying the buffer when the socket undergoes any | ||
| failure event, including an explicit close. The buffer is dereferenced and no | ||
| further data will be added to it, and it should eventually be garbage | ||
| collected along with the rest of the connection objects. | ||
| cvss_v3: 7.5 | ||
| patched_versions: | ||
| - ">= 0.9.1" | ||
| related: | ||
| url: | ||
| - https://github.com/faye/websocket-driver-ruby/security/advisories/GHSA-7c6x-34q5-4g2j |
Uh oh!
There was an error while loading. Please reload this page.