In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2017-18342 from the MITRE CVE dictionary dictionary and NIST NVD.
PyYAML in channels for Red Hat MRG Messaging 2 should no longer be used, as a newer version is now available in Red Hat Enterprise Linux. Newer packages should be consumed from Red Hat Enterprise Linux channels.
This issue affects the versions of the PyYAML package as shipped with Red Hat Satellite 5. However, this flaw is not known to be exploitable under any supported scenario in Satellite 5. A future update may address this issue.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 8.1 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Attack Vector | Network |
Attack Complexity | High |
Privileges Required | None |
User Interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity Impact | High |
Availability Impact | High |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python35-PyYAML | Under investigation |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python36-PyYAML | Under investigation |
Red Hat Satellite 5 | PyYAML | Will not fix |
Red Hat OpenStack Platform 9.0 | PyYAML | Under investigation |
Red Hat OpenStack Platform 8.0 (Liberty) | PyYAML | Under investigation |
Red Hat OpenStack Platform 13.0 (Queens) | PyYAML | Under investigation |
Red Hat OpenStack Platform 12.0 | PyYAML | Will not fix |
Red Hat OpenStack Platform 10 | PyYAML | Under investigation |
Red Hat Enterprise MRG 2 | PyYAML | Will not fix |
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | PyYAML | Will not fix |
Red Hat Enterprise Linux 7 | PyYAML | Affected |
Red Hat Enterprise Linux 6 | PyYAML | Will not fix |
Red Hat Ceph Storage 1.3 | PyYAML | Will not fix |