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-qpj4JSON: 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:
- https://nvd.nist.gov/vuln/detail/CVE-2017-2809
- https://github.com/tomoh1r/ansible-vault/issues/4
- https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04
- https://github.com/advisories/GHSA-c2w9-48qc-qpj4
- https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible-vault/PYSEC-2017-5.yaml
- https://web.archive.org/web/20171206173637/http://www.securityfocus.com/bid/100824
Blast Radius: 14.8
Affected Packages
pypi:ansible-vault
Dependent packages: 5Dependent 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