Critical severityNVD Advisory· Published Mar 24, 2020· Updated Aug 4, 2024
CVE-2020-1747
CVE-2020-1747
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pyyamlPyPI | >= 5.1b7, < 5.3.1 | 5.3.1 |
Affected products
61- ghsa-coords60 versionspkg:pypi/pyyamlpkg:rpm/almalinux/python38-asn1cryptopkg:rpm/almalinux/python38-atomicwritespkg:rpm/almalinux/python38-attrspkg:rpm/almalinux/python38-cffipkg:rpm/almalinux/python38-chardetpkg:rpm/almalinux/python38-cryptographypkg:rpm/almalinux/python38-Cythonpkg:rpm/almalinux/python38-idnapkg:rpm/almalinux/python38-markupsafepkg:rpm/almalinux/python38-mod_wsgipkg:rpm/almalinux/python38-more-itertoolspkg:rpm/almalinux/python38-packagingpkg:rpm/almalinux/python38-pluggypkg:rpm/almalinux/python38-plypkg:rpm/almalinux/python38-psycopg2pkg:rpm/almalinux/python38-psycopg2-docpkg:rpm/almalinux/python38-psycopg2-testspkg:rpm/almalinux/python38-pypkg:rpm/almalinux/python38-pycparserpkg:rpm/almalinux/python38-PyMySQLpkg:rpm/almalinux/python38-pyparsingpkg:rpm/almalinux/python38-pysockspkg:rpm/almalinux/python38-pytestpkg:rpm/almalinux/python38-pytzpkg:rpm/almalinux/python38-pyyamlpkg:rpm/almalinux/python38-requestspkg:rpm/almalinux/python38-scipypkg:rpm/almalinux/python38-sixpkg:rpm/almalinux/python38-wcwidthpkg:rpm/opensuse/python-PyYAML&distro=openSUSE%20Leap%2015.1pkg:rpm/suse/python-PyYAML&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/python-PyYAML&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP1pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP2pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Advanced%20Systems%20Management%2012pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%202%2015%20SP1pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2012%20SP2pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/python-PyYAML&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/python-PyYAML&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/python-PyYAML&distro=SUSE%20Manager%20Proxy%203.2pkg:rpm/suse/python-PyYAML&distro=SUSE%20Manager%20Server%203.2pkg:rpm/suse/python-PyYAML&distro=SUSE%20OpenStack%20Cloud%206-LTSSpkg:rpm/suse/python-PyYAML&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/python-PyYAML&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/python-PyYAML&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208
>= 5.1b7, < 5.3.1+ 59 more
- (no CPE)range: >= 5.1b7, < 5.3.1
- (no CPE)range: < 1.2.0-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 1.3.0-8.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 19.3.0-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 1.13.2-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 3.0.4-19.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.8-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 0.29.14-4.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.8-6.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 1.1.1-6.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 4.6.8-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 7.2.0-5.module_el8.4.0+2510+cb4d423d
- (no CPE)range: < 19.2-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 0.13.0-3.module_el8.4.0+2510+cb4d423d
- (no CPE)range: < 3.11-10.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.8.4-4.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.8.4-4.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.8.4-4.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 1.8.0-8.module_el8.4.0+2510+cb4d423d
- (no CPE)range: < 2.19-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 0.10.1-1.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.4.5-3.module_el8.4.0+2510+cb4d423d
- (no CPE)range: < 1.7.1-4.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 4.6.6-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2019.3-3.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 5.4.1-1.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 2.22.0-9.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 1.3.1-4.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 1.12.0-10.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 0.1.7-16.module_el8.6.0+2778+cd494b30
- (no CPE)range: < 5.1.2-lp151.2.6.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-150000.3.6.1
- (no CPE)range: < 5.1.2-150000.3.6.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-6.6.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-150000.3.6.1
- (no CPE)range: < 5.1.2-6.6.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-150000.3.6.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-150000.3.6.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- (no CPE)range: < 5.1.2-26.12.1
- Red Hat/PyYAMLv5Range: 5.3.1
Patches
Vulnerability mechanics
References
21- lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.htmlghsavendor-advisoryx_refsource_SUSEWEB
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.htmlghsavendor-advisoryx_refsource_SUSEWEB
- github.com/advisories/GHSA-6757-jp84-gxfxghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2/mitrevendor-advisoryx_refsource_FEDORA
- nvd.nist.gov/vuln/detail/CVE-2020-1747ghsaADVISORY
- bugzilla.redhat.com/show_bug.cgighsax_refsource_CONFIRMWEB
- github.com/github/advisory-database/pull/4942ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-96.yamlghsaWEB
- github.com/yaml/pyyaml/commit/0cedb2a0697b2bc49e4f3841b8d4590b6b15657eghsaWEB
- github.com/yaml/pyyaml/commit/5080ba513377b6355a0502104846ee804656f1e0ghsaWEB
- github.com/yaml/pyyaml/pull/386ghsax_refsource_MISCWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JXghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMYghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3DghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSHghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2ghsaWEB
- www.oracle.com/security-alerts/cpujul2022.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.