CVE-2011-4104
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.43%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 2.43% probability · 84th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- djangoproject/tastypie
- Source
- secalert@redhat.com
EPSS 2.4% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://www.openwall.com/lists/oss-security/2011/11/02/1Patch
- http://www.openwall.com/lists/oss-security/2011/11/02/7
- https://github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2Patch
- https://groups.google.com/forum/#%21topic/django-tastypie/i2aNGDHTUBI
- https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/Vendor Advisory
- http://www.openwall.com/lists/oss-security/2011/11/02/1Patch
- http://www.openwall.com/lists/oss-security/2011/11/02/7
- https://github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2Patch
- https://groups.google.com/forum/#%21topic/django-tastypie/i2aNGDHTUBI
- https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.