Read the docs
TI-2017-13517 Aliases CVE-2017-18342GHSA-rprw-h62v-c2w7

In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with…

Priority MEDIUM 51CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 13 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.

Summary

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

Why it matters now

EPSS 0.0557 92nd percentileScored 2026-11-07
Fix Partial PyYAML (PyPI): 5.1Red Hat: 13 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—PyYAML (PyPI)before 5.15.1Patch availableGHSA-rprw-h62v-c2w7
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • PyYAML (PyPI) Vendor— Affected before 5.1 Fixed in 5.1 Patch available GHSA-rprw-h62v-c2w7

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:*before 5.1VulnerablePyyaml
cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*28VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*29VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*30VulnerableFedoraproject
  • cpe:2.3:a:pyyaml:pyyaml:*:*:*:*:*:*:*:* Versions before 5.1 Vulnerable ·Pyyaml
  • cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:* Versions 28 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-rprw-h62v-c2w7 PyYAML (PyPI) Fixed in 5.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 1.3AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)AffectedNo fix planned: Will not fix
Red Hat Enterprise MRG 2AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 10 (Newton)AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 12 (Pike)AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 8 (Liberty)AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 9 (Mitaka)AffectedNo fix planned: Will not fix
Red Hat Satellite 5AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Not affected: 1 product
  • Red Hat OpenStack Platform 15 (Stein)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-18342
  2. 2026-10-03 Alias added: GHSA-rprw-h62v-c2w7

References

Sources