When a client is in monitoring mode, the regex begin used to detected monitor messages could cause exponential backtracking on some strings. This issue could lead to a denial of service.
The problem was fixed in commit 2d11b6d
and was released in version 3.1.1
.
#1569 (GHSL-2021-026)