Security mailing lists by PureSourceCode

CVE-2020-1747

CRITICAL 9.8CVSS 3.1

Improper Input Validation in PyYAML

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.

Published
24 Mar 2020
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-6757-jp84-gxfxPYSEC-2020-96
Sources
NVDJSONOSV GHSA-6757-jp84-gxfxJSONOSV PYSEC-2020-96JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD secalert@redhat.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pyyaml pyyaml
cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*
>= 5.1, < 5.3.1 5.3.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
NVD oracle communications_cloud_native_core_network_function_cloud_native_environment
cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:22.1.0:*:*:*:*:*:*:*
= 22.1.0
OSV PyPI pyyaml >= 5.1b7, < 5.3.1 5.3.1
OSV PyPI pyyaml >= 5.1, < 5.3.1 5.3.1

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Mar 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Mar 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.