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.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/100824 | vdb entry third party advisory |
https://github.com/tomoh1r/ansible-vault/blob/v1.0.5/CHANGES.txt | third party advisory |
https://github.com/tomoh1r/ansible-vault/issues/4 | third party advisory |
https://github.com/tomoh1r/ansible-vault/commit/3f8f659ef443ab870bb19f95d43543470168ae04 | third party advisory |
https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0305 | third party advisory exploit |