Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-10855

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-10855
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:09 UTC · Revision 1

Source evidence

CVE-2018-10855

core-osv · Original source

Published 3 Jul 2018, 01:29 UTC

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.

osv:CVE-2018-10855
Complete source record
{
  "id": "1e7575625c243e386d2d70254524bde78402da4cb59a1e0ddd0674dbea2632f6",
  "url": "https://osv.dev/vulnerability/CVE-2018-10855",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-10855",
    "summary": "Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.",
    "evidence": "osv:CVE-2018-10855",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-10855",
      "aliases": [
        "CVE-2018-10855",
        "GHSA-jwcc-j78w-j73w",
        "PYSEC-2018-42"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ansible/ansible",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2a18883cb24b70043b5d719bb3c64c594670cad2"
                },
                {
                  "last_affected": "5f6e1a70a6f879146b8504244d1b43f2e2059856"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4"
                      },
                      {
                        "fixed": "2.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.5.0-0.1.rc1",
            "v2.5.5",
            "v2.5.4",
            "v2.5.3",
            "v2.5.2",
            "v2.5.1",
            "v2.4.4.0-1",
            "v2.4.4.0-0.3.rc2",
            "v2.5.0",
            "v2.5.0rc3",
            "v2.5.0rc2",
            "v2.4.4-0.2.rc1",
            "v2.5.0rc1",
            "v2.4.4-0.1.beta1",
            "v2.5.0b2",
            "v2.5.0b1",
            "v2.4.3.0-1",
            "v2.4.3.0-0.6.rc3",
            "v2.4.3.0-0.5.rc2",
            "v2.4.3.0-0.4.rc1",
            "v2.4.3-0.3.beta3",
            "v2.4.3.0-0.2.beta2",
            "v2.4.3.0-0.1.beta1",
            "v2.4.2.0-1",
            "v2.4.2.0-0.5.rc1",
            "v2.4.2.0-0.4.beta4",
            "v2.4.2.0-0.3.beta3",
            "v2.4.2.0-0.2.beta2",
            "v2.4.2.0-0.1.beta1",
            "v2.4.1.0-1",
            "v2.4.1.0-0.4.rc2",
            "v2.4.1.0-0.3.rc1",
            "v2.4.1.0-0.2.beta2",
            "v2.4.1.0-0.1.beta1",
            "v2.4.0.0-1",
            "v2.4.0.0-0.5.rc5",
            "v2.4.0.0-0.4.rc4",
            "v2.4.0.0-0.3.rc3",
            "v2.4.0.0-0.2.rc2",
            "v2.4.0.0-0.1.rc1",
            "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-2018-10855.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:49.358512639Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHBA-2018:3788",
        "https://access.redhat.com/errata/RHSA-2018:1948",
        "https://access.redhat.com/errata/RHSA-2018:1949",
        "https://access.redhat.com/errata/RHSA-2018:2022",
        "https://access.redhat.com/errata/RHSA-2018:2079",
        "https://access.redhat.com/errata/RHSA-2018:2184",
        "https://access.redhat.com/errata/RHSA-2018:2585",
        "https://access.redhat.com/errata/RHSA-2019:0054",
        "https://usn.ubuntu.com/4072-1/",
        "https://www.debian.org/security/2019/dsa-4396",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "19.04"
                  },
                  {
                    "last_affected": "19.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:ansible_engine",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0"
                  },
                  {
                    "last_affected": "2.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:cloudforms",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.6"
                  },
                  {
                    "last_affected": "4.6"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*",
              "cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "13"
                  },
                  {
                    "last_affected": "13"
                  },
                  {
                    "introduced": "10"
                  },
                  {
                    "last_affected": "10"
                  },
                  {
                    "introduced": "12"
                  },
                  {
                    "last_affected": "12"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:virtualization",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-10855",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436973,
  "published_at": "2018-07-03T01:29:00.58+00:00"
}