Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWMydzktNDhxYy1xcGo0

Code injection in ansible

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.

Permalink: https://github.com/advisories/GHSA-c2w9-48qc-qpj4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWMydzktNDhxYy1xcGo0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: 4 months ago


CVSS Score: 7.8
CVSS vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Percentage: 0.0047
EPSS Percentile: 0.75888

Identifiers: GHSA-c2w9-48qc-qpj4, CVE-2017-2809
References: Repository: https://github.com/tomoh1r/ansible-vault
Blast Radius: 14.8

Affected Packages

pypi:ansible-vault
Dependent packages: 5
Dependent repositories: 80
Downloads: 110,813 last month
Affected Version Ranges: < 1.0.5
Fixed in: 1.0.5
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4
All unaffected versions: 1.0.5, 1.1.1, 1.1.2, 1.2.0, 2.0.0, 2.1.0