When using Distributed Test only (RMI based), Apache JMeter 2.x and 3.x uses an unsecured RMI connection. This could allow an attacker to get Access to JMeterEngine and send unauthorized code.
https://github.com/CyberCTF/vulhub-jmeter-cve-2018-1297
https://github.com/advisories/GHSA-7v85-6hv2-rwgw
https://github.com/Al1ex/CVE-2018-1297
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-3064