Advisory

GHSA-pvhp-v9qp-xf5r

Also known as: CVE-2011-4103, PYSEC-2014-24

Summary

Django-piston and Django-tastypie do not properly deserialize YAML data

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-07-23 19:50 UTC
Modified
2024-09-16 23:21 UTC

Affected packages and fixes

django-piston

PyPI · All systems

Affected

  • introduced 0.2.0, fixed 0.2.2.1 (ecosystem)

Fixed versions

0.2.2.1

Fix

  • Fixed version 0.2.2.1
    pip install --upgrade django-piston==0.2.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences