Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. django-tastypie
  4. ›
  5. CVE-2011-4104

CVE-2011-4104: Django Tastypie Improper Deserialization of YAML Data

May 14, 2022 (updated September 16, 2024)

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

  • github.com/advisories/GHSA-qgvw-qc2q-gv5q
  • github.com/pypa/advisory-database/tree/main/vulns/django-tastypie/PYSEC-2014-25.yaml
  • github.com/toastdriven/django-tastypie
  • github.com/toastdriven/django-tastypie/commit/e8af315211b07c8f48f32a063233cc3f76dd5bc2
  • groups.google.com/forum/
  • nvd.nist.gov/vuln/detail/CVE-2011-4104
  • www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases

Code Behaviors & Features

Detect and mitigate CVE-2011-4104 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.10

Fixed versions

  • 0.9.10

Solution

Upgrade to version 0.9.10 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/django-tastypie/CVE-2011-4104.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.