A denial-of-service issue was discovered in MediaWiki before 1.35.6, 1.36.x before 1.36.4, and 1.37.x before 1.37.2. When many files exist, requesting Special:NewFiles with actor as a condition can result in a very long running query.
https://www.debian.org/security/2022/dsa-5246
https://phabricator.wikimedia.org/T297731
https://lists.debian.org/debian-lts-announce/2022/09/msg00027.html