CVE-2017-18342

CRITICAL9.8EPSS 4.8%

PyYAML insecurely deserializes YAML strings leading to arbitrary code execution

Published: 1/4/2019Modified: 4/28/2026

Description

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (18)