Cyber Risks · Cisco Talos

Vulnerability Spotlight: YAML Parsing Remote Code Execution Vulnerabilities in Ansible Vault and Tablib

Summary: Talos disclosed remote code execution vulnerabilities in the YAML processing of the third-party Ansible-Vault Python library and the Tablib dataset library, both of which call PyYAML's unsafe yaml.load API instead of yaml.safe_load. Supplying malicious YAML content lets an attacker execute arbitrary commands in the context of the current user; the core Ansible Vault functionality provided by Ansible is not affected, and Snort rules 42195-42196 detect exploitation attempts.

Bottom line: The flaw sits in a third-party library that views and modifies Ansible Vault files, not in Ansible's own vault code, so teams that assume the vendor's tooling covers them may still be running the vulnerable dependency. Tablib's exposure reaches further through django-import-export, meaning a malicious databook can run code wherever that library is embedded.

Read the original at Cisco Talos ↗

Topics
Vulnerabilities & Patching
Related