CVE-2017-16764 django_make_app is vulnerable to Code Injection
Attackers can execute arbitrary Python commands by inserting malicious code into YAML files parsed by django_make_app.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-16764?
CVE-2017-16764 is a critical code injection vulnerability in n/a, published on 10 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An exploitable vulnerability exists in the YAML parsing functionality in the read_yaml_file method in io_utils.py in django_make_app 0.1.3. A YAML parser can execute arbitrary Python commands resulting in command execution. An attacker can insert Python into loaded YAML to trigger this vulnerability.
Which versions are affected by CVE-2017-16764?
3 open source packages ship an affected version, including django-make-app and django_make_app. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
django-make-app PyPI | All versions to 0.1.3 | None |
django-make-app PyPI | From 0.1.0.1 | None |
django_make_app PyPI | All versions to 0.1.3 | None |
Products include Django Make App Project Django Make App.
How do I fix CVE-2017-16764?
No fix has been published for CVE-2017-16764 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2017-16764 being exploited?
There is no known exploitation of CVE-2017-16764 in the wild and no public exploit code.
Sources
Also known as GHSA-9pv8-q5rx-c8gq, PYSEC-2017-79.