@ErsinKa
The two CVEs mentioned are related to different issues:
Apache Log4j <=1.2.17 Remote Code Execution Vulnerability in SocketServer - CVE-2019-17571
This CVE does not impact AEM Forms 6.5.
CVE-2015-4000 is specific to the DHE_EXPORT cipher suite. There are steps[0] to update the secure AEM against various SSL / TLS vulnerabilities and configure the JDK.tls.ephemeralDHKeySize to 2048.
To mitigate the log4j vulnerability, follow the steps mentioned here[1].
Let me know if you have any concerns.
[0] - https://helpx.adobe.com/ie/experience-manager/kb/secure-AEM-against-newer-SSL-TLS-attacks-AEM.html
[1] - https://helpx.adobe.com/in/experience-manager/kb/aem-forms-vulnerability-cve-2021-44228.html