Skip to content

Code injection in ansible

High severity GitHub Reviewed Published Jul 13, 2018 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

pip ansible (pip)

Affected versions

< 1.0.5

Patched versions

1.0.5

Description

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.

References

Published by the National Vulnerability Database Sep 14, 2017
Published to the GitHub Advisory Database Jul 13, 2018
Reviewed Jun 16, 2020
Last updated Feb 1, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2017-2809

GHSA ID

GHSA-c2w9-48qc-qpj4

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.