Skip to content
Heist/ feed
Back to feed
HighFix available

ansible, ansible-base — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2018-10875

A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.

Products
ansible, ansible-base
Affected versions
Not specified
Fixed versions
2.6.3-r0
CVEs
CVE-2018-10875
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:10 UTC · Revision 1

Source evidence

ALPINE-CVE-2018-10875

core-osv · Original source

Published 13 Jul 2018, 22:29 UTC

A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.

osv:ALPINE-CVE-2018-10875

ansible

Fixed versions: 2.6.3-r0

ansible

Fixed versions: 2.6.3-r0

ansible

Fixed versions: 2.6.3-r0

ansible

Fixed versions: 2.6.3-r0

ansible-base

Fixed versions: 2.6.3-r0

ansible-base

Fixed versions: 2.6.3-r0

Complete source record
{
  "id": "303b238770124b601933399025aca6610e1347e46dc90e4c01aeb5953bee2972",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2018-10875",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2018-10875",
    "summary": "A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.",
    "evidence": "osv:ALPINE-CVE-2018-10875",
    "products": [
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6.3-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6.3-r0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6.3-r0",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6.3-r0",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible-base",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6.3-r0",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ansible-base",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.6.3-r0",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "ALPINE-CVE-2018-10875",
      "aliases": [
        "ALPINE-CVE-2018-10875"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:apk/alpine/ansible?arch=source",
            "ecosystem": "Alpine:v3.10"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10875.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:apk/alpine/ansible?arch=source",
            "ecosystem": "Alpine:v3.11"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10875.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:apk/alpine/ansible?arch=source",
            "ecosystem": "Alpine:v3.12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10875.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible",
            "purl": "pkg:apk/alpine/ansible?arch=source",
            "ecosystem": "Alpine:v3.9"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10875.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible-base",
            "purl": "pkg:apk/alpine/ansible-base?arch=source",
            "ecosystem": "Alpine:v3.13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10875.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.6.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ansible-base",
            "purl": "pkg:apk/alpine/ansible-base?arch=source",
            "ecosystem": "Alpine:v3.14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10875.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-23T17:23:46.189938410Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-10875"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2018-10875"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-10875",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 415804,
  "published_at": "2018-07-13T22:29:00.22+00:00"
}