CVE-2017-16615
Mlalchemy Project Mlalchemy vulnerability
An exploitable vulnerability exists in the YAML parsing functionality in the parse_yaml_query method in parser.py in MLAlchemy before 0.2.2. When processing YAML-Based queries for data, a YAML parser can execute arbitrary Python commands resulting in command execution because load is used where safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mlalchemy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mlalchemy Project Mlalchemy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16615-critical-restful-web-applic · Third Party Advisory
- github.com/thanethomson/MLAlchemy/commit/bc795757febdcce430d89f9d08f75c32d6989d3c
- github.com/thanethomson/MLAlchemy/issues/1
- nvd.nist.gov/vuln/detail/CVE-2017-16615
- github.com/pypa/advisory-database/tree/main/vulns/mlalchemy/PYSEC-2017-19.yaml
- joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16615-critical-restful-web-applic
- github.com/advisories/GHSA-xpm8-98mx-h4c5
- nvd.nist.gov/vuln/detail/CVE-2017-16615
- cve.org/CVERecord?id=CVE-2017-16615
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.