Description
Race condition in the XMPP library in Smack before 4.1.9, when the SecurityMode.required TLS setting has been set, allows man-in-the-middle attackers to bypass TLS protections and trigger use of cleartext for client authentication by stripping the "starttls" feature from a server response.
Remediation
References
http://www.openwall.com/lists/oss-security/2016/12/22/12
http://www.securityfocus.com/bid/95129
https://community.igniterealtime.org/blogs/ignite/2016/11/22/smack-security-advisory-2016-11-22
https://github.com/igniterealtime/Smack/commit/059ee99ba0d5ff7758829acf5a9aeede09ec820b
https://github.com/igniterealtime/Smack/commit/a9d5cd4a611f47123f9561bc5a81a4555fe7cb04
https://issues.igniterealtime.org/projects/SMACK/issues/SMACK-739
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4WXAZ4JVJXHMEDDXJVWJHPVBF5QCTZF/
Related Vulnerabilities
CVE-2022-26336 Vulnerability in maven package org.apache.poi:poi-scratchpad
CVE-2022-43396 Vulnerability in maven package org.apache.kylin:kylin-spark-engine
CVE-2022-21704 Vulnerability in npm package log4js
CVE-2023-49068 Vulnerability in maven package org.apache.dolphinscheduler:dolphinscheduler-api
CVE-2017-9735 Vulnerability in maven package org.eclipse.jetty:jetty-util