CVE-2020-1747

PyYAML: arbitrary command execution through python/object/new when FullLoader is used

Published Mar 24, 2020 CVSS 3.1 · 9.8 Critical EPSS 4.7% KEV · Not listed
Description
A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0160 A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.
Github GHSA Github GHSA GHSA-6757-jp84-gxfx Improper Input Validation in PyYAML
History

No history.

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 6:46 AM
Reserved
Nov 27, 2019, 12:00 AM
Status
Modified
Published
Mar 24, 2020, 3:15 PM
Modified
Jun 17, 2026, 3:02 AM
Severity
Moderate
Public date
Mar 2, 2020, 12:00 AM