I believe I saw it mentioned in one of the security advisories about CVE-2021-44228 that reducing the logging level to ERROR or below can mitigate the vulnerability to some degree. I can't seem to find the same advisory again, possibly that piece of information has been removed since.
I found this explanation of CVE-2021-44228 that claims about exploitable log entries that The server logs this at the INFO level
.
Would reducing the logging level to ERROR or below mitigate the vulnerability somewhat?
My understanding is that the attacker would need to trigger a logger.error()
to inject a command, which is still possible, but less likely than with INFO level.