Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-1736

A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-1736
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:59 UTC · Revision 1

Source evidence

CVE-2020-1736

core-osv · Original source

Published 16 Mar 2020, 16:15 UTC

A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

osv:CVE-2020-1736
Complete source record
{
  "id": "cfbef0c0fb5085e7b64a065130668bf9f14806a9b781cbc5475b106e97fef325",
  "url": "https://osv.dev/vulnerability/CVE-2020-1736",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-1736",
    "summary": "A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.",
    "evidence": "osv:CVE-2020-1736",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2020-1736",
      "aliases": [
        "CVE-2020-1736",
        "GHSA-x7jh-595q-wq82",
        "PYSEC-2020-8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ansible/ansible",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "8fd406ee8e3a14be72b3cbbfe91d03fe35952f95"
                },
                {
                  "introduced": "2611867fd1dc387ceaa0ffb8ce0f030aafc2a859"
                },
                {
                  "fixed": "01d9ef008b90cea57c128728cb56eec0974269f8"
                },
                {
                  "introduced": "24325a05dfb9104d6d4ec8b488b89e07c2e6d376"
                },
                {
                  "fixed": "acf1a7ba4011fb96027c97df8c3cd8c16c9726ca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.7.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8.0"
                      },
                      {
                        "fixed": "2.8.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.9.0"
                      },
                      {
                        "fixed": "2.9.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.9.12",
            "v2.8.14",
            "v2.9.11",
            "v2.8.13",
            "v2.9.10",
            "v2.9.9",
            "v2.8.12",
            "v2.9.8",
            "v2.9.7",
            "v2.8.11",
            "v2.8.10",
            "v2.9.6",
            "v2.8.9",
            "v2.9.5",
            "v2.9.4",
            "v2.9.3",
            "v2.8.8",
            "v2.7.16",
            "v2.9.2",
            "v2.9.1",
            "v2.8.7",
            "v2.7.15",
            "v2.9.0",
            "v2.8.6",
            "v2.7.14",
            "v2.8.5",
            "v2.7.13",
            "v2.8.4",
            "v2.8.3",
            "v2.7.12",
            "v2.8.2",
            "v2.8.1",
            "v2.7.11",
            "v2.8.0",
            "v2.7.10",
            "v2.7.9",
            "v2.7.8",
            "v2.7.7",
            "v2.7.6",
            "v2.7.5",
            "v2.7.4",
            "v2.7.3",
            "v2.7.2",
            "v2.7.1",
            "v2.7.0",
            "v2.7.0rc4",
            "v2.7.0rc3",
            "v2.7.0rc2",
            "v2.7.0rc1",
            "v2.7.0b1",
            "v2.7.0.a1",
            "v2.6.0a1",
            "v2.0.0-0.5.beta3",
            "v2.0.0-0.4.beta2",
            "v2.0.0-0.3.beta1",
            "v2.0.0-0.2.alpha2",
            "v2.0.0-0.1.alpha1",
            "v1.6.0",
            "v1.4.0",
            "v1.2",
            "v1.1",
            "v1.0",
            "0.7",
            "0.3",
            "0.0.1",
            "0.01"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1736.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:38.060264627Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7/",
        "https://security.gentoo.org/glsa/202006-11",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736",
        "https://github.com/ansible/ansible/issues/67794"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ansible_tower",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "3.3.4"
                  },
                  {
                    "introduced": "3.3.5"
                  },
                  {
                    "last_affected": "3.4.5"
                  },
                  {
                    "introduced": "3.5.0"
                  },
                  {
                    "last_affected": "3.5.5"
                  },
                  {
                    "introduced": "3.6.0"
                  },
                  {
                    "last_affected": "3.6.3"
                  },
                  {
                    "introduced": "3.7.0"
                  },
                  {
                    "last_affected": "3.7.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  },
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:cloudforms_management_engine",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0"
                  },
                  {
                    "last_affected": "5.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13"
                  },
                  {
                    "last_affected": "13"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-1736",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380623,
  "published_at": "2020-03-16T16:15:13.983+00:00"
}