{"id":"CVE-2011-4103","aliases":["DEBIAN-CVE-2011-4103","DSA-2344-1","EUVD-2014-0005","GHSA-pvhp-v9qp-xf5r","PYSEC-2014-24"],"status":"published","title":"Django-piston and Django-tastypie do not properly deserialize YAML data","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0243,"percentile":0.84347,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2011-11-11T00:00:00Z","modified":"2026-06-16T23:34:25Z","fixes":[{"ecosystem":"PyPI","package":"django-piston","fixed_in":["0.2.2.1","0.2.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:6.0","package":"python-django-piston","fixed_in":["0.2.2-1+squeeze1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django-piston","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.0"},{"fixed":"0.2.2.1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-django-piston","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.2-1+squeeze1"}]}],"versions":["0.2.2-1"]},{"source":"osv","ecosystem":"PyPI","package":"django-piston","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.0"},{"fixed":"0.2.2.1"}]}],"versions":["0.2","0.2.1","0.2.2"]},{"source":"osv","ecosystem":"PyPI","package":"django-piston","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.3"}]}],"versions":["0.0.1","0.2","0.2.1","0.2.2","0.2.2.1"]}],"products":[{"vendor":"djangoproject","product":"piston"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=750658","tags":["x_refsource_CONFIRM","x_transferred","web","report"]},{"url":"https://bitbucket.org/jespern/django-piston/commits/91bdaec89543/","tags":["x_refsource_CONFIRM","x_transferred","Patch","web"]},{"url":"http://www.debian.org/security/2011/dsa-2344","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","web","advisory"]},{"url":"https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2011/11/01/10","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4103","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pvhp-v9qp-xf5r","tags":["advisory"]},{"url":"https://bitbucket.org/jespern/django-piston/commits/91bdaec89543","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-piston/PYSEC-2014-24.yaml","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases","tags":["web"]},{"url":"https://bitbucket.org/jespern/django-piston","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-4103","description":"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.","status":"published","published":"2014-10-27T01:00:00Z","modified":"2024-08-07T00:01:49.946Z","updated_at":"2026-11-02T14:35:37.671707Z"}],"euvd":[{"id":"EUVD-2014-0005","description":"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.","status":"published","published":"2014-10-27T01:00:00Z","modified":"2024-08-07T00:01:49Z","updated_at":"2026-11-03T01:39:49.868954Z"}],"ghsa":[{"id":"GHSA-pvhp-v9qp-xf5r","title":"Django-piston and Django-tastypie do not properly deserialize YAML data","description":"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.\n\nDjango Tastypie has a very similar vulnerability.","status":"published","published":"2018-07-23T19:50:48Z","modified":"2024-09-16T23:00:29Z","cvss":[{"version":"4.0","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","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:03.800952Z"}],"nvd":[{"id":"CVE-2011-4103","description":"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.","status":"published","published":"2014-10-27T01:55:23.28Z","modified":"2026-06-16T23:34:25.8Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:12.639283Z"}],"osv":[{"id":"GHSA-pvhp-v9qp-xf5r","title":"Django-piston and Django-tastypie do not properly deserialize YAML data","description":"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.\n\nDjango Tastypie has a very similar vulnerability.","status":"published","published":"2018-07-23T19:50:48Z","modified":"2024-09-16T23:21:33.197826Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","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","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"DSA-2344-1","title":"python-django-piston - deserialization vulnerability","status":"published","published":"2011-11-11T00:00:00Z","modified":"2026-03-09T01:18:34.2218Z","updated_at":"2026-11-02T15:46:15.108335Z"},{"id":"PYSEC-2014-24","description":"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.","status":"published","published":"2014-10-27T01:55:00Z","modified":"2023-11-08T03:57:01.074322Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
