synced 4 MIN AGO
01 Record

CVE-2020-1747

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

CriticalPUBLISHEDCNA: redhat
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
5.44% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 92.6% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2020-03-24 13:56Z6 YR AGO
Last updated
2024-08-04 06:46Z2 YR AGO
Reserved
2019-11-27
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Critical (CVSS 9.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-20Improper Input ValidationClass
Data version
5.1
Document digest
6ce5c9664ecb4a6ee97998ed46f9dae37e750edec0514d029c4ab97e26d4bb50

05 Affected products

VendorProductVersionsPlatforms
Red HatPyYAML5.3.1—

06 References

07 Fixed in

AlmaLinux 8

  • python38-Cython
    Fixed in 0.29.14-4.module_el8.6.0+2778+cd494b30
  • python38-PyMySQL
    Fixed in 0.10.1-1.module_el8.6.0+2778+cd494b30
  • python38-asn1crypto
    Fixed in 1.2.0-3.module_el8.6.0+2778+cd494b30
  • python38-atomicwrites
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.3.0-8.module_el8.4.0+2510+cb4d423d
    • Affected before 1.3.0-8.module_el8.6.0+2778+cd494b30
  • python38-attrs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 19.3.0-3.module_el8.4.0+2510+cb4d423d
    • Affected before 19.3.0-3.module_el8.6.0+2778+cd494b30
  • python38-cffi
    Fixed in 1.13.2-3.module_el8.6.0+2778+cd494b30
  • python38-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2778+cd494b30
  • python38-cryptography
    Fixed in 2.8-3.module_el8.6.0+2778+cd494b30
  • python38-idna
    Fixed in 2.8-6.module_el8.6.0+2778+cd494b30
  • python38-markupsafe
    Fixed in 1.1.1-6.module_el8.6.0+2778+cd494b30
  • python38-mod_wsgi
    Fixed in 4.6.8-3.module_el8.6.0+2778+cd494b30
  • python38-more-itertools
    Fixed

    A version is affected if any line below covers it.

    • Affected before 7.2.0-5.module_el8.4.0+2510+cb4d423d
    • Affected before 7.2.0-5.module_el8.6.0+2778+cd494b30
  • python38-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 19.2-3.module_el8.4.0+2510+cb4d423d
    • Affected before 19.2-3.module_el8.6.0+2778+cd494b30
  • python38-pluggy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.13.0-3.module_el8.4.0+2510+cb4d423d
    • Affected before 0.13.0-3.module_el8.6.0+2778+cd494b30
  • python38-ply
    Fixed in 3.11-10.module_el8.6.0+2778+cd494b30
  • python38-psycopg2
    Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
  • python38-psycopg2-doc
    Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
  • python38-psycopg2-tests
    Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
  • python38-py
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.8.0-8.module_el8.4.0+2510+cb4d423d
    • Affected before 1.8.0-8.module_el8.6.0+2778+cd494b30
  • python38-pycparser
    Fixed in 2.19-3.module_el8.6.0+2778+cd494b30
  • python38-pyparsing
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.4.5-3.module_el8.4.0+2510+cb4d423d
    • Affected before 2.4.5-3.module_el8.6.0+2778+cd494b30
  • python38-pysocks
    Fixed in 1.7.1-4.module_el8.6.0+2778+cd494b30
  • python38-pytest
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.6-3.module_el8.4.0+2510+cb4d423d
    • Affected before 4.6.6-3.module_el8.6.0+2778+cd494b30
  • python38-pytz
    Fixed in 2019.3-3.module_el8.6.0+2778+cd494b30
  • python38-pyyaml
    Fixed in 5.4.1-1.module_el8.6.0+2778+cd494b30
  • python38-requests
    Fixed in 2.22.0-9.module_el8.6.0+2778+cd494b30
  • python38-scipy
    Fixed in 1.3.1-4.module_el8.6.0+2778+cd494b30
  • python38-six
    Fixed in 1.12.0-10.module_el8.6.0+2778+cd494b30
  • python38-wcwidth
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.1.7-16.module_el8.4.0+2510+cb4d423d
    • Affected before 0.1.7-16.module_el8.6.0+2778+cd494b30

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • python38-Cython
    Fixed in 0.29.14-4.module_el8.6.0+2778+cd494b30
  • python38-PyMySQL
    Fixed in 0.10.1-1.module_el8.6.0+2778+cd494b30
  • python38-asn1crypto
    Fixed in 1.2.0-3.module_el8.6.0+2778+cd494b30
  • python38-atomicwrites
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.3.0-8.module_el8.4.0+2510+cb4d423d
    • Affected before 1.3.0-8.module_el8.6.0+2778+cd494b30
  • python38-attrs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 19.3.0-3.module_el8.4.0+2510+cb4d423d
    • Affected before 19.3.0-3.module_el8.6.0+2778+cd494b30
  • python38-cffi
    Fixed in 1.13.2-3.module_el8.6.0+2778+cd494b30
  • python38-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2778+cd494b30
  • python38-cryptography
    Fixed in 2.8-3.module_el8.6.0+2778+cd494b30
  • python38-idna
    Fixed in 2.8-6.module_el8.6.0+2778+cd494b30
  • python38-markupsafe
    Fixed in 1.1.1-6.module_el8.6.0+2778+cd494b30
  • python38-mod_wsgi
    Fixed in 4.6.8-3.module_el8.6.0+2778+cd494b30
  • python38-more-itertools
    Fixed

    A version is affected if any line below covers it.

    • Affected before 7.2.0-5.module_el8.4.0+2510+cb4d423d
    • Affected before 7.2.0-5.module_el8.6.0+2778+cd494b30
  • python38-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 19.2-3.module_el8.4.0+2510+cb4d423d
    • Affected before 19.2-3.module_el8.6.0+2778+cd494b30
  • python38-pluggy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.13.0-3.module_el8.4.0+2510+cb4d423d
    • Affected before 0.13.0-3.module_el8.6.0+2778+cd494b30
  • python38-ply
    Fixed in 3.11-10.module_el8.6.0+2778+cd494b30
  • python38-psycopg2
    Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
  • python38-psycopg2-doc
    Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
  • python38-psycopg2-tests
    Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
  • python38-py
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.8.0-8.module_el8.4.0+2510+cb4d423d
    • Affected before 1.8.0-8.module_el8.6.0+2778+cd494b30
  • python38-pycparser
    Fixed in 2.19-3.module_el8.6.0+2778+cd494b30
  • python38-pyparsing
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.4.5-3.module_el8.4.0+2510+cb4d423d
    • Affected before 2.4.5-3.module_el8.6.0+2778+cd494b30
  • python38-pysocks
    Fixed in 1.7.1-4.module_el8.6.0+2778+cd494b30
  • python38-pytest
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.6-3.module_el8.4.0+2510+cb4d423d
    • Affected before 4.6.6-3.module_el8.6.0+2778+cd494b30
  • python38-pytz
    Fixed in 2019.3-3.module_el8.6.0+2778+cd494b30
  • python38-pyyaml
    Fixed in 5.4.1-1.module_el8.6.0+2778+cd494b30
  • python38-requests
    Fixed in 2.22.0-9.module_el8.6.0+2778+cd494b30
  • python38-scipy
    Fixed in 1.3.1-4.module_el8.6.0+2778+cd494b30
  • python38-six
    Fixed in 1.12.0-10.module_el8.6.0+2778+cd494b30
  • python38-wcwidth
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.1.7-16.module_el8.4.0+2510+cb4d423d
    • Affected before 0.1.7-16.module_el8.6.0+2778+cd494b30

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • pyyaml
    Fixed in 5.3-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pyyaml
    Fixed in 5.3-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pyyaml
    Fixed in 5.3-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.