chore(deps): update image binwiederhier/ntfy to v2.38.1 #9

Merged
renovate merged 1 commit from renovate/binwiederhier-ntfy-2.x into main 2026-11-19 12:02:17 +00:00
Collaborator

This PR contains the following updates:

Package Update Change
binwiederhier/ntfy (source) minor v2.37.2 → v2.38.1

Release Notes

binwiederhier/ntfy

v2.38.1

Compare Source

This is a security release. It hardens message templating against a set of denial-of-service attacks, where a crafted template could crash the server, exhaust its memory or outrun the execution deadline in a single request. It also stops slow S3 attachment uploads and unresponsive web push endpoints from tying up memory, connections and goroutines, and applies the web push subscription limit per IP prefix. Upgrading is strongly recommended.

Security:

  • Message templating: values are now checked before they are printed or JSON-encoded, so a template can no longer crash the server by printing a value that references itself, or build a huge string by printing a list of many references to one value
  • Message templating: printf only accepts plain directives (no explicit argument indexes or %p) and no lists or dicts as arguments, and the html, js and urlquery functions are no longer allowed
  • Message templating: the execution deadline is now also enforced inside a single template action, so a long pipeline or deeply nested function calls can no longer outrun it
  • Message templating: the regexMatch, regexFind, regexFindAll, regexReplaceAll, regexReplaceAllLiteral and regexSplit functions (and their must variants) now reject patterns longer than 1024 bytes or that compile to more than 5000 instructions, so a template can no longer make the server compile and run a huge regular expression
  • Message templating: limit the result size of the cat, toPrettyJSON, concat and keys functions, and the list size of uniq, without and has, so a small template can no longer build a huge string or list in a single call
  • Message templating: apply the iteration limit of until, untilStep and seq to decreasing sequences too, so a negative step can no longer build an unbounded list
  • Attachments: buffer S3 uploads of unknown size in small chunks as data arrives, instead of allocating a full 5 MB part up front (and a second one for multipart uploads), so that slow or stalled uploads no longer pin 5-10 MB of memory each
  • Web push: use a timeout for deliveries and always close the push service response, so slow or unresponsive push endpoints can no longer leak connections and goroutines; a timeout or network error no longer removes the subscription
  • Web push: count the subscription limit per IP prefix (the same IPv6 /64 or configured prefix as all other limits) instead of per full IP address, so rotating addresses within one prefix no longer bypasses it

Bug fixes + maintenance:

  • Stripe billing: when an abandoned checkout expires (incomplete_expired) after the user paid for another subscription, the webhook no longer replaces the paying subscription with the expired one (#​2199)
  • Message templating: errors in an inline message template (X-Message with X-Template: yes) now name the message parameter instead of the priority parameter

v2.38.0

Compare Source

This release shares every visitor's rate limits across the nodes of a cluster: a client spread over several nodes is now limited once instead of once per node, and a node that restarts or crashes takes the limits over from its peers instead of forgetting them. It also fixes a denial-of-service bug in message templating, where a crafted template could build an oversized string and crash the server, and builds ntfy with Go 1.27.4 (security fixes).

Features:

  • Cluster: the nodes share every visitor's rate limits (requests, failed logins, signups and password resets, topic creation, e-mails, attachment bandwidth, Firebase pauses) over the mesh every second, so a client spread over several nodes gets its limits once, not once per node; a node that restarts or crashes takes the limits over from its peers before it serves (#​2182)

Bug fixes + maintenance:

  • Message templating: the replace, regexReplaceAll and join functions now cap the size of the string they build, so a template can no longer amplify small inputs into a multi-gigabyte string and crash the server with an out-of-memory error (thanks to Robert Flosbach of Neodyme for the responsible disclosure)
  • WebSocket subscribers that a node closes while draining are no longer counted and logged as internal server errors (HTTP 500, ntfy error 50001); on ntfy.sh, each node's drain counted ~18k of them and tripped the 5xx alert, although clients never saw an error (#​2171)

Security:

  • Build with Go 1.27.4, which includes security fixes to cgo, the go command, the compiler, the linker and net/http

Configuration

📅 Schedule: (in timezone Europe/Helsinki)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [binwiederhier/ntfy](https://ntfy.sh/) ([source](https://github.com/binwiederhier/ntfy)) | minor | `v2.37.2` → `v2.38.1` | --- ### Release Notes <details> <summary>binwiederhier/ntfy</summary> ### [`v2.38.1`](https://github.com/binwiederhier/ntfy/releases/tag/v2.38.1) [Compare Source](https://github.com/binwiederhier/ntfy/compare/v2.38.0...v2.38.1) This is a security release. It hardens message templating against a set of denial-of-service attacks, where a crafted template could crash the server, exhaust its memory or outrun the execution deadline in a single request. It also stops slow S3 attachment uploads and unresponsive web push endpoints from tying up memory, connections and goroutines, and applies the web push subscription limit per IP prefix. **Upgrading is strongly recommended**. **Security:** - Message templating: values are now checked before they are printed or JSON-encoded, so a template can no longer crash the server by printing a value that references itself, or build a huge string by printing a list of many references to one value - Message templating: `printf` only accepts plain directives (no explicit argument indexes or `%p`) and no lists or dicts as arguments, and the `html`, `js` and `urlquery` functions are no longer allowed - Message templating: the execution deadline is now also enforced inside a single template action, so a long pipeline or deeply nested function calls can no longer outrun it - Message templating: the `regexMatch`, `regexFind`, `regexFindAll`, `regexReplaceAll`, `regexReplaceAllLiteral` and `regexSplit` functions (and their `must` variants) now reject patterns longer than 1024 bytes or that compile to more than 5000 instructions, so a template can no longer make the server compile and run a huge regular expression - Message templating: limit the result size of the `cat`, `toPrettyJSON`, `concat` and `keys` functions, and the list size of `uniq`, `without` and `has`, so a small template can no longer build a huge string or list in a single call - Message templating: apply the iteration limit of `until`, `untilStep` and `seq` to decreasing sequences too, so a negative step can no longer build an unbounded list - Attachments: buffer S3 uploads of unknown size in small chunks as data arrives, instead of allocating a full 5 MB part up front (and a second one for multipart uploads), so that slow or stalled uploads no longer pin 5-10 MB of memory each - Web push: use a timeout for deliveries and always close the push service response, so slow or unresponsive push endpoints can no longer leak connections and goroutines; a timeout or network error no longer removes the subscription - Web push: count the subscription limit per IP prefix (the same IPv6 /64 or configured prefix as all other limits) instead of per full IP address, so rotating addresses within one prefix no longer bypasses it **Bug fixes + maintenance:** - Stripe billing: when an abandoned checkout expires (`incomplete_expired`) after the user paid for another subscription, the webhook no longer replaces the paying subscription with the expired one ([#&#8203;2199](https://github.com/binwiederhier/ntfy/pull/2199)) - Message templating: errors in an inline message template (`X-Message` with `X-Template: yes`) now name the message parameter instead of the priority parameter ### [`v2.38.0`](https://github.com/binwiederhier/ntfy/releases/tag/v2.38.0) [Compare Source](https://github.com/binwiederhier/ntfy/compare/v2.37.2...v2.38.0) This release shares every visitor's rate limits across the nodes of a cluster: a client spread over several nodes is now limited once instead of once per node, and a node that restarts or crashes takes the limits over from its peers instead of forgetting them. It also fixes a denial-of-service bug in message templating, where a crafted template could build an oversized string and crash the server, and builds ntfy with Go 1.27.4 (security fixes). **Features:** - Cluster: the nodes share every visitor's rate limits (requests, failed logins, signups and password resets, topic creation, e-mails, attachment bandwidth, Firebase pauses) over the mesh every second, so a client spread over several nodes gets its limits once, not once per node; a node that restarts or crashes takes the limits over from its peers before it serves ([#&#8203;2182](https://github.com/binwiederhier/ntfy/pull/2182)) **Bug fixes + maintenance:** - Message templating: the `replace`, `regexReplaceAll` and `join` functions now cap the size of the string they build, so a template can no longer amplify small inputs into a multi-gigabyte string and crash the server with an out-of-memory error (thanks to Robert Flosbach of Neodyme for the responsible disclosure) - WebSocket subscribers that a node closes while draining are no longer counted and logged as internal server errors (HTTP 500, ntfy error 50001); on ntfy.sh, each node's drain counted \~18k of them and tripped the 5xx alert, although clients never saw an error ([#&#8203;2171](https://github.com/binwiederhier/ntfy/pull/2171)) **Security:** - Build with Go 1.27.4, which includes security fixes to cgo, the go command, the compiler, the linker and `net/http` </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Helsinki) - Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (`* 0-4,22-23 * * 1-5`) - Only on Sunday and Saturday (`* * * * 0,6`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNDYuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI0Ni4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
chore(deps): update image binwiederhier/ntfy to v2.38.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
1c0d614c55
Signed-off-by: Renovate Bot <renovate@esle.fi>
renovate scheduled this pull request to auto merge when all checks succeed 2026-11-18 21:32:17 +00:00
renovate force-pushed renovate/binwiederhier-ntfy-2.x from 1c0d614c55
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
to e6be0776c5
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
2026-11-19 12:02:12 +00:00
Compare
renovate changed title from chore(deps): update image binwiederhier/ntfy to v2.38.0 to chore(deps): update image binwiederhier/ntfy to v2.38.1 2026-11-19 12:02:16 +00:00
renovate deleted branch renovate/binwiederhier-ntfy-2.x 2026-11-19 12:02:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ivuorinen/coolify-ntfy!9
No description provided.