{"id":"GHSA-4r8q-gv9j-3xx6","summary":"Open Redirect","details":"### Impact\nIn some situations, it is possible to have open redirects where users can be redirected from your site to any other site using a specially crafted URL.\nThis is only the case for installations where the default Hostname Identification is used and the environment uses tenants that have `force_https` set to `true` (default: `false`)\n\n### Patches\nVersion 5.7.2 contains the relevant patches to fix this bug. Stripping the URL from special characters to prevent specially crafted URL's from being redirected to.\n\n### Workarounds\nThere is a simple way to work around the security issue\n- Set the `force_https` to every tenant to `false`\n\n### References\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-11784\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact us in Discord: https://tenancy.dev/chat\n","aliases":["CVE-2021-32645"],"modified":"2026-05-07T05:02:28.481822953Z","published":"2022-03-18T17:55:07Z","database_specific":{"github_reviewed_at":"2021-05-27T20:40:11Z","nvd_published_at":"2021-05-27T17:15:00Z","cwe_ids":["CWE-601"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32645"},{"type":"WEB","url":"https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164"},{"type":"WEB","url":"https://packagist.org/packages/hyn/multi-tenant"},{"type":"WEB","url":"https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html"}],"affected":[{"package":{"name":"hyn/multi-tenant","ecosystem":"Packagist","purl":"pkg:composer/hyn/multi-tenant"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.0"},{"fixed":"5.7.2"}]}],"versions":["5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.7.0","5.7.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-4r8q-gv9j-3xx6/GHSA-4r8q-gv9j-3xx6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}