This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Synapse allows setting unreasonable power_levels when creating a v1-5 room #8378
Closed

Description
Description
You can create a room with a power level that is viewed as "Infinity"
Steps to reproduce
- Create a room with
"power_level_content_override": {
"users": {
"@youruser:yourhomeserver": 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
}
- Notice various levels of breakage in many clients (FluffyChat, Element), and a power level displayed as Infinity
Instead, creating the room should fail.
Version information
-
Homeserver: blob.cat
-
Version: 1.11.0-1
-
Install method: Ubuntu package (with apt)
- Platform: Ubuntu (on a VM)