CVE-2011-4104

critical

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.

References

https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/

https://groups.google.com/forum/#%21topic/django-tastypie/i2aNGDHTUBI

https://github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2

http://www.openwall.com/lists/oss-security/2011/11/02/7

http://www.openwall.com/lists/oss-security/2011/11/02/1

Details

Source: Mitre, NVD

Published: 2014-10-27

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

CVSS v4

Base Score: 9.3

Vector: 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

Severity: Critical

EPSS

EPSS: 0.00715