Hi, According to https://github.com/jagornet/dhcp/issues/20 , log4j 1.2 is vulnerable to CVE-2019-17571, so davmail should use log4j 2.15 or 2.16 instead. Thanks,
tag 1001684 moreinfo thanks Hi, According to the debian security tracker[1], this has been fixed in log4j so davmail uses a fixed version. https://security-tracker.debian.org/tracker/source-package/apache-log4j1.2 Do you have exploit code that works against davmail or any other clue that davmail needs fixing? Thanks, Alex
Hi Alexandre, ok that's good news :-) Unfortunately not. I only stumbled upon this when examining our servers for instances vulnerable to CVE-2021-44228. Forums seem to claim that versions log4j versions 1 are not safe either (different vulnerabilities), but without giving any specifics. However, log4j team itself says versions 1.x are "end of life" and should be avoided. So, it's more a case of "better be safe than sorry" than any concrete exploit. Also, since a while already, Java now has its own internal logging framework (java.util.logging.Logger), so there should be less and less reason to use potentially unsafe third-party logging libraries (but switching to java's internal logging might be more difficult to do in the short run than just upgrading to a newer version). Regards,
tag 1001684 -moreinfo +upstream severity 1001684 wishlist thanks I'll try to report this upstream. Alex
Qouting https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001684#22 Debian maintainer of Davmail, Alexandre Rossi: > Also, since a while already, Java now has its own internal logging > framework (java.util.logging.Logger), so there should be less and > less reason to use potentially unsafe third-party logging libraries > (but switching to java's internal logging might be more difficult > to do in the short run than just upgrading to a newer version). I'll try to report this upstream. And I hope this helps Groeten Geert Stappers
Hi, [...] To clarify the log4j1 situation, it appears that it is not vulnerable unless you use JMSAppender which davmail does not. (there is also CVE-2019-17571 with SocketAppender which is disabled but usable in davmail). To clarify the Debian situation, the Debian package does not use the embedded jar but the system shared jar. In the case of davmail, I would say that there is a good chance that the current provided compiled zip in 6.0.1 is not vulnerable to CVE-2021-44228 because it does not use JMSAppender. Alex
@Alexandre: FYI, your message didn't yet reach Davmail mailinglist subscribers. Groeten Geert Stappers