As a part of the security scanning process, the below third-party library from the Symantec Directory is reported as vulnerable.
CVE-2018-25031 (org.webjars swagger-ui : 3.24.3)
Location of the file from Symantec Directory installation package for this is reported as - ./cadirectory-binary-14.1.5.tar.gz/dxserver/linux_x86_64/cadxagent141.tar.gz/doc/swagger-ui-bundle.js
Symantec Directory14.1 SP5 and below
Vulnerability
In Directory versions before 14.1, there were DXagent APIs along with MUI APIs.
The swagger-ui files present in $DXHOME/dxagent/doc were used for DXagent APIs.
But now those APIs are deprecated and the users are supposed to use MUI APIs for Dxagent-related APIs also. But the Swagger-UI files are not updated in dxagent/doc folder.
Solution is to manually delete the swagger-ui files form the host as they are nowhere used by Symantec Directory.
Below are the list of files(at $DXHOME/dxagent/doc)
A shell script(remove_swagger.sh) is available to delete the swagger-ui files from the installer file.
The following steps are to be followed
This should remove the swagger-ui files.
Raise a support ticket for remove_swagger.sh file