Security mailing lists by PureSourceCode

CVE-2021-3583

HIGH 7.1CVSS 3.1

Improper Input Validation and Command Injection in Ansible

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.

Published
22 Sep 2021
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20CWE-77CWE-94
Also known as
GHSA-2pfh-q76x-gwvmPYSEC-2021-358
Sources
NVDJSONOSV GHSA-2pfh-q76x-gwvmJSONOSV PYSEC-2021-358JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.6 AV:L/AC:L/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
= 1.2
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*
< 2.9.23 2.9.23
NVD redhat ansible_tower
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
< 3.7.0 3.7.0
OSV PyPI ansible < 2.9.23rc1 2.9.23rc1
OSV PyPI ansible >= 2.10.0a1, < 2.10.11rc1 2.10.11rc1
OSV PyPI ansible >= 2.11.0a1, < 2.11.2rc1 2.11.2rc1
OSV PyPI ansible < 2.9.23 2.9.23

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 22 Sep 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Sep 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.