Fix security issues found in elasticsearch libraries

Fix the following issues:

  1. CVE-2019-7614
  2. CVE-2019-7619

This library was tested with project: catalog service: osdu/platform/system/reference/crs-catalog-service!47 (closed)

Edited by Rostislav Vatolin