p PatchFirst

CVE-2017-18342

CVE-2017-18342

CVSS 9.8 · Critical · EPSS 5.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • pyyaml Debian 12Update to 5.1.2-1
  • pyyaml Debian 13Update to 5.1.2-1
  • pyyaml Debian 14Update to 5.1.2-1
  • pyyaml PyPIUpdate to 5.1
  • and 3 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pyyaml"'
pip show pyyaml

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • pyyaml Debian 12

    Affected ranges
    • ECOSYSTEM: < 5.1.2-1

    Update to 5.1.2-1

  • pyyaml Debian 13

    Affected ranges
    • ECOSYSTEM: < 5.1.2-1

    Update to 5.1.2-1

  • pyyaml Debian 14

    Affected ranges
    • ECOSYSTEM: < 5.1.2-1

    Update to 5.1.2-1

  • pyyaml PyPI

    Versions
    • 3.01
    • 3.02
    • 3.03
    • 3.04
    • 3.05
    • 3.06
    All versions (22)
    • 3.07
    • 3.08
    • 3.09
    • 3.10
    • 3.11
    • 3.12
    • 3.13
    • 3.13b1
    • 3.13rc1
    • 4.2b1
    • 4.2b2
    • 4.2b4
    • 5.1b1
    • 5.1b3
    • 5.1b5
    • 5.1b7
    Affected ranges
    • ECOSYSTEM: < 5.1

    Update to 5.1

  • pyyaml Ubuntu 14.04 LTS

    Versions
    • 3.10-4build2
    • 3.10-4build3
    • 3.10-4build4
    • 3.10-4ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pyyaml Ubuntu 16.04 LTS

    Versions
    • 3.11-2build1
    • 3.11-3
    • 3.11-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pyyaml Ubuntu 18.04 LTS

    Versions
    • 3.12-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →