To communicate my plugin to Jira Data Center(JDC), I am using "atlassian-jira-rpc-plugin-4.0.jar" in my maven project. while doing Security scan in my STAT scan tool "fortifyhub" I am getting an Error mentioned below. Then I have updated this JAR from "atlassian-jira-rpc-plugin-4.0.jar" to "atlassian-jira-rpc-plugin-7.0.8.jar" latest version. but still it is flagging into the same issue. I have checked in maven repository and I have excluded "axis" library which is having vulnerability in the 7.0.8 version. even more still it is flagging STAT issue. can you please guide me how to resolve this issue or do we have any alternative library for this "atlassian-jira-rpc-plugin"?
STAT issue detail:
CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection'): CVE-2017-18113
The DefaultOSWorkflowConfigurator class in Jira Server and Jira Data Center before version 8.18.1 allows remote attackers who can trick a system administrator to import their malicious workflow to execute arbitrary code via a Remote Code Execution (RCE) vulnerability. The vulnerability allowed for various problematic OSWorkflow classes to be used as part of workflows. The fix for this issue blocks usage of unsafe conditions, validators, functions and registers that are build-in into OSWorkflow library and other Jira dependencies. Atlassian-made functions or functions provided by 3rd party plugins are not affected by this fix.
Reference Info: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-18113