Django-piston and Django-tastypie do not properly deserialize YAML data
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          Jul 23, 2018 
          to the GitHub Advisory Database
          •
          Updated Sep 16, 2024 
      
  
Description
        Published to the GitHub Advisory Database
      Jul 23, 2018 
    
  
        Reviewed
      Jun 16, 2020 
    
  
        Last updated
      Sep 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