Security mailing lists by PureSourceCode

CVE-2016-8628

CRITICAL 9.1CVSS 3.0

Ansible fails to properly sanitize fact variables sent from the Ansible controller

Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.

Published
31 Jul 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-77
Also known as
GHSA-jg4f-jqm5-4mgqPYSEC-2018-38
Sources
NVDJSONOSV GHSA-jg4f-jqm5-4mgqJSONOSV PYSEC-2018-38JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.1 CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.1 CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD secalert@redhat.com (Secondary) CVSS 3.0 HIGH 7.6 CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
< 2.2.0 2.2.0
OSV PyPI ansible < 2.2.0.0 2.2.0.0

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 Jul 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Jul 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Oct 2018)
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.