CVE-2017-18342

Summary

CVECVE-2017-18342
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-06-27 12:29:00 UTC
Updated2023-11-07 02:41:00 UTC
DescriptionIn PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.

Risk And Classification

Problem Types: CWE-502

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 28 All All All
Operating System Fedoraproject Fedora 29 All All All
Operating System Fedoraproject Fedora 30 All All All
Operating System Fedoraproject Fedora 28 All All All
Operating System Fedoraproject Fedora 29 All All All
Operating System Fedoraproject Fedora 30 All All All
Application Pyyaml Pyyaml All All All All
Application Pyyaml Pyyaml All All All All

References

ReferenceSourceLinkTags
PyYAML yaml.load(input) Deprecation · yaml/pyyaml Wiki · GitHub github.com
[SECURITY] Fedora 30 Update: PyYAML-5.1-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
PyYAML: Arbitrary code execution (GLSA 202003-45) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
pyyaml/CHANGES at master · yaml/pyyaml · GitHub MISC github.com Release Notes, Third Party Advisory
[SECURITY] Fedora 29 Update: PyYAML-5.1-1.fc29 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
[SECURITY] Fedora 28 Update: PyYAML-5.1-1.fc28 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 29 Update: PyYAML-5.1-1.fc29 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Use 'yaml.safe_load' in 'load_yaml_from_docstring' · Issue #278 · marshmallow-code/apispec · GitHub MISC github.com Third Party Advisory
[SECURITY] Fedora 30 Update: PyYAML-5.1-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
PyYAML 4.2 Release Plan · Issue #193 · yaml/pyyaml · GitHub MISC github.com Third Party Advisory
[SECURITY] Fedora 28 Update: PyYAML-5.1-1.fc28 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Third Party Advisory
PyYAML yaml.load(input) Deprecation · yaml/pyyaml Wiki · GitHub MISC github.com Third Party Advisory
Make pyyaml safe by default. by alex · Pull Request #74 · yaml/pyyaml · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159768 Oracle Enterprise Linux Security Update for ol-automation-manager (ELSA-2022-9341)
  • 296075 Oracle Solaris 11.4 Support Repository Update (SRU) 21.69.0 Missing (CPUAPR2020)
  • 904846 Common Base Linux Mariner (CBL-Mariner) Security Update for mozjs60 (12374)
  • 904919 Common Base Linux Mariner (CBL-Mariner) Security Update for PyYAML (12295)
  • 904980 Common Base Linux Mariner (CBL-Mariner) Security Update for PyYAML (12458)
  • 980984 Python (pip) Security Update for pyyaml (GHSA-rprw-h62v-c2w7)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report