Hello @Gimazetdinov Damir !
Welcome to Microsoft QnA!
For the 1st one go here :
https://www.alitajran.com/cve-2021-1730-vulnerability/
And the Extended Protection
https://microsoft.github.io/CSS-Exchange/Security/Extended-Protection/
Use the script or follow the steps
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards