PyPI (Python)Worst: Critical4 advisories

pyyaml: known vulnerabilities

pyyaml has 4 reviewed security advisories in the GitHub Advisory Database — 4 critical. The most recent was published 2021-02-09. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pyyaml versions running across your servers, containers and images, and ranks what to patch first.

How to fix pyyaml

Upgrade pyyaml to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade pyyaml (pin pyyaml>=5.4)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

Improper Input Validation in PyYAML Critical 9.8 CWE-20 — Affected: from 5.1b7 up to 5.3.1. Fixed in 5.3.1. Published 2020-03-24. GHSA-6757-jp84-gxfx · CVE-2020-1747
Deserialization of Untrusted Data in PyYAML Critical 9.8 CWE-502 — Affected: from 5.1 up to 5.2. Fixed in 5.2. Published 2020-02-19. GHSA-3pqx-4fqf-j49f · CVE-2019-20477
PyYAML insecurely deserializes YAML strings leading to arbitrary code execution Critical 9.8 CWE-502 — Affected: before 5.1. Fixed in 5.1. Published 2019-01-04. GHSA-rprw-h62v-c2w7 · CVE-2017-18342

Find pyyaml across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.