We’ve just released a series of security updates and corresponding advisories:
- dry-logger GHSA-w372-6w8v-8874 · Log filters skip arrays, and some array shapes crash the filter and log the unfiltered payload
- dry-logic GHSA-88x6-8wr7-j6gp ·
uri?predicate is unanchored, sojavascript:URLs passuri?: "https" - hanami GHSA-gc77-6753-x6mr · XSS through
_htmltranslations with non-String interpolation values - hanami GHSA-2v2m-5qwc-qhpw · Default log filters miss common password fields and the CSRF token
- hanami-action GHSA-55j2-5pph-56mv · Body and query params override route params in action
params - hanami-router GHSA-73j7-6jvw-2v7g · Scoped middleware is skipped for sibling paths when a nested scope adds its own middleware · Advisory ·
- hanami-router GHSA-wgjv-fq27-94m7 · Concurrent requests can receive each other’s route params
- hanami-view GHSA-4g74-pv6p-g8hw ·
sanitize_urlreturns html_safe output that can contain' - hanami-webconsole GHSA-qxv3-3w54-whwp · Private-network peers bypass the console’s localhost allowlist with
X-Forwarded-For· Advisory · hanami/hanami-webconsole
You can install the following patch releases containing the fixes to these issues:
- dry-logger 1.3.1
- dry-logic 1.6.1
- hanami 3.0.3
- hanami-action 3.0.3
- hanami-router 3.0.1
- hanami-view 3.0.3
- hanami-webconsole 3.0.1
Fixes are also in the Hanami repo main branches and will be included in our upcoming 3.1 release candidate.
Thank you for your attention to these, and thank you very much to @parndt for his assistance with identifying and resolving these security issues.