PyPA Advisory Database
PYSEC-2014-25
Details
The from_yaml method in serializers.py in Django Tastypie before 0.9.10 does not properly deserialize YAML data, which allows remote attackers to execute arbitrary Python code via vectors related to the yaml.load method.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django-tastypie | All versions before 0.9.10 (fixed in 0.9.10) |
References
- http://www.openwall.com/lists/oss-security/2011/11/02/1
- https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/
- https://github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2
- http://www.openwall.com/lists/oss-security/2011/11/02/7
- https://groups.google.com/forum/#!topic/django-tastypie/i2aNGDHTUBI
- https://github.com/advisories/GHSA-qgvw-qc2q-gv5q