This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Improper validation of filter leads to internal server error #14223
Labels
A-Room-Directory
A-Validation
500 (mostly) errors due to lack of event/parameter validation
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Milestone
Description
The
/_matrix/client/v3/publicRooms
endpoint supports filtering. Some values trigger a 500.Steps to reproduce
Either send a null byte in
generic_search_term
or an invalid value insince
. See the HTTP requests below:Homeserver
matrix.org and my homeserver
Synapse Version
v1.69.0 on my homeserver
Installation Method
Docker (matrixdotorg/synapse)
Platform
Debian 11, amd64, on my homeserver.
Relevant log output
When searching for a null byte:
When sending an invalid
since
:Anything else that would be useful to know?
See this matrix-public-archive issue.
The text was updated successfully, but these errors were encountered: