CVE-2011-4104
HIGH 7.5CVSS 2.0Django Tastypie Improper Deserialization of YAML Data
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.
- Published
- 27 Oct 2014
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-502
- Also known as
- GHSA-qgvw-qc2q-gv5qPYSEC-2014-25
- Sources
- NVDJSONOSV GHSA-qgvw-qc2q-gv5qJSONOSV PYSEC-2014-25JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | tastypiecpe:2.3:a:djangoproject:tastypie:*:*:*:*:*:*:*:* |
<= 0.9.9 | |
| OSV | PyPI | django-tastypie | < 0.9.10 | 0.9.10 |
References
- http://www.openwall.com/lists/oss-security/2011/11/02/1 · Patch, WEB
- http://www.openwall.com/lists/oss-security/2011/11/02/7 · WEB
- https://github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2 · Patch, WEB, FIX
- https://groups.google.com/forum/#%21topic/django-tastypie/i2aNGDHTUBI
- https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2011-4104 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/django-tastypie/PYSEC-2014-25.yaml · WEB
- https://github.com/toastdriven/django-tastypie · PACKAGE
- https://groups.google.com/forum/#!topic/django-tastypie/i2aNGDHTUBI · WEB
- https://github.com/advisories/GHSA-qgvw-qc2q-gv5q · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 27 Oct 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Oct 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 May 2022)