{"id":"CVE-2023-32682","summary":"Improper checks for deactivated users during login in synapse","details":"Synapse is a Matrix protocol homeserver written in Python with the Twisted framework. In affected versions it may be possible for a deactivated user to login when using uncommon configurations. This only applies if any of the following are true: 1. JSON Web Tokens are enabled for login via the `jwt_config.enabled` configuration setting. 2. The local password database is enabled via the `password_config.enabled` and `password_config.localdb_enabled` configuration settings *and* a user's password is updated via an admin API after a user is deactivated. Note that the local password database is enabled by default, but it is uncommon to set a user's password after they've been deactivated. Installations that are configured to only allow login via Single Sign-On (SSO) via CAS, SAML or OpenID Connect (OIDC); or via an external password provider (e.g. LDAP) are not affected. If not using JSON Web Tokens, ensure that deactivated users do not have a password set. This issue has been addressed in version 1.85.0. Users are advised to upgrade.","aliases":["GHSA-26c5-ppr8-f33p","PYSEC-2023-84"],"modified":"2026-04-10T04:58:04.075503Z","published":"2023-06-06T18:20:14.377Z","related":["openSUSE-SU-2024:13039-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32682.json","cwe_ids":["CWE-287"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6DH5A5YEB5LRIPP32OUW25FCGZFCZU2/"},{"type":"WEB","url":"https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account"},{"type":"WEB","url":"https://matrix-org.github.io/synapse/latest/jwt.html"},{"type":"WEB","url":"https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#password_config"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32682.json"},{"type":"ADVISORY","url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-26c5-ppr8-f33p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32682"},{"type":"FIX","url":"https://github.com/matrix-org/synapse/pull/15624"},{"type":"FIX","url":"https://github.com/matrix-org/synapse/pull/15634"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/matrix-org/synapse","events":[{"introduced":"0"},{"fixed":"ec71214243eac58a4a6d272c15441a6405f6ae9c"}]}],"versions":["hhs-1","hhs-2","hhs-3","hhs-5","hhs-6","hhs-7","hhs-8","v0.10.0","v0.10.0-r1","v0.10.0-r2","v0.11.0","v0.11.0-r1","v0.11.0-r2","v0.11.1","v0.12.0","v0.13.1","v0.13.2","v0.13.3","v0.14.0","v0.16.0","v0.16.1","v0.16.1-r1","v0.17.0","v0.17.1","v0.17.2","v0.17.3","v0.18.0","v0.18.1","v0.18.2","v0.18.3","v0.18.4","v0.18.5","v0.2.0","v0.2.1","v0.2.1a","v0.2.2","v0.23.0-rc1","v0.23.0-rc2","v0.25.0-rc1","v0.28.0-rc1","v0.3.0","v0.3.3","v0.3.4","v0.32.0","v0.32.0rc1","v0.32.2","v0.4.1","v0.4.2","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.5.3a","v0.5.3b","v0.5.3c","v0.5.4","v0.5.4a","v0.6.0","v0.6.0a","v0.6.0b","v0.6.1","v0.6.1a","v0.6.1b","v0.6.1c","v0.6.1d","v0.6.1e","v0.6.1f","v0.7.0","v0.7.0a","v0.7.0b","v0.7.0c","v0.7.0d","v0.7.0e","v0.7.0f","v0.7.1","v0.7.1-r1","v0.7.1-r2","v0.7.1-r3","v0.7.1-r4","v0.8.0","v0.8.1","v0.8.1-r1","v0.8.1-r2","v0.8.1-r3","v0.8.1-r4","v0.9.0","v0.9.0-r1","v0.9.0-r2","v0.9.0-r3","v0.9.0-r4","v0.9.0-r5","v0.9.1","v0.9.2","v0.9.2-r1","v0.9.2-r2","v0.9.3","v0.99.1rc1","v0.99.2rc1","v0.99.4rc1","v0.99.5.1.dev0","v1.1.0rc1","v1.1.0rc2","v1.10.0rc1","v1.11.0rc1","v1.12.0rc1","v1.14.0rc1","v1.15.0rc1","v1.16.0rc1","v1.17.0rc1","v1.18.0rc1","v1.23.0rc1","v1.24.0rc1","v1.27.0rc1","v1.29.0rc1","v1.3.0rc1","v1.30.0rc1","v1.31.0rc1","v1.32.0rc1","v1.34.0rc1","v1.35.0rc1","v1.36.0rc1","v1.4.0rc1","v1.40.0rc1","v1.49.0rc1","v1.5.0rc1","v1.52.0rc1","v1.6.0rc1","v1.62.0rc1","v1.63.0rc1","v1.75.0rc1","v1.76.0rc1","v1.78.0rc1","v1.79.0rc1","v1.8.0rc1","v1.81.0rc1","v1.84.0rc1","v1.85.0rc1","v1.85.0rc2","v1.9.0.dev1","v1.9.0.dev2","v1.9.0rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-32682.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}