You linked the security advisory containing the steps what to do. I recommend taking a look at it.
The security advisory notes how to mitigate the warnings.
Btw I dont see the version more than 2.375.3 . Wondering how to upgrade to Jenkins LTS should be updated to version 2.375.4 or 2.387.1 as these are the fixes.