ADVISORIES

GitHub Advisory Database

GHSA-pvhp-v9qp-xf5r

Django-piston and Django-tastypie do not properly deserialize YAML data

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.

Django Tastypie has a very similar vulnerability.

Affected packages

EcosystemPackageAffected versions
PyPIdjango-piston
From 0.2.0 before 0.2.2.1 (fixed in 0.2.2.1)

References