—
PYSEC-2014-24
Quick fix
PYSEC-2014-24 — django-piston: upgrade to the fixed version with the command below.
pip install --upgrade 'django-piston>=0.2.3'Details
emitters.py in Django Piston before 0.2.3 and 0.2.x before 0.2.2.1 does not properly deserialize YAML data, which allows remote attackers to execute arbitrary Python code via vectors related to the yaml.load method.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://bugzilla.redhat.com/show_bug.cgi?id=750658[REPORT]
- http://www.openwall.com/lists/oss-security/2011/11/01/10[WEB]
- https://bitbucket.org/jespern/django-piston/commits/91bdaec89543/[WEB]
- http://www.debian.org/security/2011/dsa-2344[ADVISORY]
- https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/[ARTICLE]
- https://github.com/advisories/GHSA-pvhp-v9qp-xf5r[ADVISORY]