CVE-2019-20477
Python vulnerability analysis and mitigation

Overview

CVE-2019-20477 affects PyYAML versions 5.1 through 5.1.2, where insufficient restrictions exist on the load and load_all functions due to a class deserialization issue. This vulnerability exists because of an incomplete fix for CVE-2017-18342 (Ubuntu Security, Debian Tracker).

Technical details

The vulnerability specifically involves the subprocess module's Popen class, which can be exploited through Python/object/apply constructor in FullLoader. The issue stems from insufficient restrictions in the YAML parsing functionality (Red Hat Portal).

Impact

When exploited, this vulnerability could lead to arbitrary code execution when processing untrusted YAML files. This poses a significant security risk for applications that process YAML data from untrusted sources (Red Hat Portal).

Mitigation and workarounds

The recommended mitigation is to upgrade to PyYAML version 5.2 or later, which includes fixes for this vulnerability. For systems that cannot be immediately upgraded, it is recommended to avoid processing untrusted YAML input (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22612HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22609HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22608HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026
CVE-2026-22690LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management