Security mailing lists by PureSourceCode

CVE-2020-10684

HIGH 7.1CVSS 3.1

Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible

A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.

Published
24 Mar 2020
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-250CWE-362CWE-862CWE-94
Also known as
GHSA-p62g-jhg6-v3rqPYSEC-2020-207
Sources
NVDJSONOSV GHSA-p62g-jhg6-v3rqJSONOSV PYSEC-2020-207JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD secalert@redhat.com (Secondary) CVSS 3.1 HIGH 7.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H
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:N/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.6 AV:L/AC:L/Au:N/C:N/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
>= 2.7.0, < 2.7.17 2.7.17
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
>= 2.8.0, < 2.8.9 2.8.9
NVD redhat ansible
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
>= 2.9.0, < 2.9.6 2.9.6
NVD redhat ansible_tower
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
<= 3.3.5
NVD redhat ansible_tower
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
>= 3.5.0, <= 3.5.5
NVD redhat ansible_tower
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
>= 3.6.0, <= 3.6.3
NVD redhat openstack
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
= 10
NVD redhat openstack
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
= 13
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
OSV PyPI ansible >= 2.7.0a1, < 2.7.17 2.7.17
OSV PyPI ansible >= 2.8.0a1, < 2.8.11 2.8.11
OSV PyPI ansible >= 2.9.0a1, < 2.9.7 2.9.7
OSV PyPI ansible >= 2.7.0, < 2.7.17; >= 2.8.0, < 2.8.9; >= 2.9.0, < 2.9.6 2.7.17, 2.8.9, 2.9.6

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Mar 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Mar 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Apr 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.