Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. PyYAML
  4. ›
  5. CVE-2020-1747

CVE-2020-1747: Improper Input Validation

March 24, 2020 (updated March 26, 2021)

PyYAML 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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747
  • nvd.nist.gov/vuln/detail/CVE-2020-1747

Code Behaviors & Features

Detect and mitigate CVE-2020-1747 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.1 before 5.3.1

Fixed versions

  • 5.3.1

Solution

Upgrade to version 5.3.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

pypi/PyYAML/CVE-2020-1747.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.