Arbitrary Code Execution Affecting confire package, versions [,0.2.0]
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-CONFIRE-40708
- published 28 Nov 2017
- disclosed 9 Nov 2017
- credit Joel-MalwareBenchmark
Introduced: 9 Nov 2017
CVE-2017-16763 Open this link in a new tabHow to fix?
The fix was pushed into the master branch but not yet published.
Overview
confire
is a simple app configuration scheme using YAML and class based defaults.
Affected versions of the package are vulnerable to Arbitrary Code Execution. An exploitable vulnerability exists in the YAML parsing functionality in config.py in Confire 0.2.0. Due to the user-specific configuration being loaded from "/.confire.yaml" using the yaml.load function, a YAML parser can execute arbitrary Python commands resulting in command execution. An attacker can insert Python into loaded YAML to trigger this vulnerability.