Improper Input Validation and Command Injection in Ansible


I lately start receiving a Github security alert about the Ansible version used in my project. As is state:

Package Affected versions. Patched version
ansible(pip). < 4.2.0. 4.2.0

A flaw was found in Ansible, where a user’s controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.

Is Ansible v4 and/or superior already supported? Is there any guideline to upgrade or migrate?

Any hint will be appreciated,
Thanks in advance and cheers,