Vulnerabilities · 2011 · Djangoproject
CVE-2011-4104
Djangoproject Tastypie vulnerability
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 products
Tastypie. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Tastypie 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
- www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/ · Vendor Advisory
- www.openwall.com/lists/oss-security/2011/11/02/1 · Patch
- github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2 · Patch
- www.openwall.com/lists/oss-security/2011/11/02/7
- groups.google.com/forum/#%21topic/django-tastypie/i2aNGDHTUBI
- nvd.nist.gov/vuln/detail/CVE-2011-4104
- groups.google.com/forum/#!topic/django-tastypie/i2aNGDHTUBI
- github.com/pypa/advisory-database/tree/main/vulns/django-tastypie/PYSEC-2014-25.yaml
- nvd.nist.gov/vuln/detail/CVE-2011-4104
- cve.org/CVERecord?id=CVE-2011-4104
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.