GitHub Advisoryadvisory · PyPI

GHSA-qgvw-qc2q-gv5q Django Tastypie Improper Deserialization of YAML Data

CRITICAL Published 2022-05-14 Modified 2024-09-16 Official page ↗
Aliases
CVE-2011-4104
Ecosystem
PyPI
Packages
django-tastypie
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2024-01-12

Affected packages

• PyPI django-tastypie: < 0.9.10 → fixed in 0.9.10

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References