Some vulnerabilities are coming from Elasticsearch rest high level client v7.16.3

There is one vulnerability is coming from Elasticsearch rest high level client v7.16.3. Is there any way to mitigate this?
Below is the link for CVE:
https://nvd.nist.gov/vuln/detail/CVE-2022-23708

You will need to upgrade to 7.17.1 or later - Elastic Stack 7.17.1 Security Update