GHSA-pvhp-v9qp-xf5r

Suggest an improvement
Source
https://github.com/advisories/GHSA-pvhp-v9qp-xf5r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-pvhp-v9qp-xf5r/GHSA-pvhp-v9qp-xf5r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pvhp-v9qp-xf5r
Aliases
Published
2018-07-23T19:50:48Z
Modified
2024-09-16T23:21:33.197826Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "nvd_published_at": null,
    "severity": "CRITICAL",
    "github_reviewed_at": "2020-06-16T21:50:09Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

PyPI / django-piston

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.2.0
Fixed
0.2.2.1

Affected versions

0.*

0.2
0.2.1
0.2.2