Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-2809

An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.

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

Source evidence

CVE-2017-2809

core-osv · Original source

Published 14 Sept 2017, 19:29 UTC

An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.

osv:CVE-2017-2809
Complete source record
{
  "id": "bbd109e16fa480171fff3547367b6add217e99adbb339982c12e20291b3de936",
  "url": "https://osv.dev/vulnerability/CVE-2017-2809",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-2809",
    "summary": "An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.",
    "evidence": "osv:CVE-2017-2809",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-2809",
      "aliases": [
        "CVE-2017-2809",
        "GHSA-c2w9-48qc-qpj4",
        "PYSEC-2017-5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tomoh1r/ansible-vault",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "fb3c4a05df7249e9f0724d573d2b023298c9f8e4"
                },
                {
                  "fixed": "3f8f659ef443ab870bb19f95d43543470168ae04"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ansible-vault_project:ansible-vault:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3f8f659ef443ab870bb19f95d43543470168ae04"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2809.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:50.090110442Z",
      "provider": "osv",
      "references": [
        "https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt",
        "https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04",
        "https://github.com/tomoh1r/ansible-vault/issues/4",
        "https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-2809",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380385,
  "published_at": "2017-09-14T19:29:00.347+00:00"
}