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

CVE-2011-4103: Django-piston and Django-tastypie do not properly deserialize YAML data

July 23, 2018 (updated September 16, 2024)

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.

Django Tastypie has a very similar vulnerability.

References

  • bitbucket.org/jespern/django-piston
  • bitbucket.org/jespern/django-piston/commits/91bdaec89543
  • bugzilla.redhat.com/show_bug.cgi?id=750658
  • github.com/advisories/GHSA-pvhp-v9qp-xf5r
  • github.com/pypa/advisory-database/tree/main/vulns/django-piston/PYSEC-2014-24.yaml
  • nvd.nist.gov/vuln/detail/CVE-2011-4103
  • www.djangoproject.com/weblog/2011/nov/01/piston-and-tastypie-security-releases

Code Behaviors & Features

Detect and mitigate CVE-2011-4103 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 starting from 0.2.0 before 0.2.2.1

Fixed versions

  • 0.2.2.1

Solution

Upgrade to version 0.2.2.1 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-20: Improper Input Validation

Source file

pypi/django-piston/CVE-2011-4103.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:02 +0000.