p PatchFirst

CVE-2022-1471

CVE-2022-1471 · Remote Code execution in SnakeYAML

CVSS 8.3 · High · EPSS 99.5% · Public exploit

Compare with your installed version

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

Check the installed version:

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

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.

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

Published
Updated

Fixes in distributions

  • RHSA-2023:0777 · Red Hat openshift 4.9 el8 ·
  • RHSA-2025:1747 · Red Hat jboss enterprise application platform eus 7.3 el7 ·
  • RHSA-2025:1746 · Red Hat jboss enterprise application platform eus 7.1 el7 ·
  • RHSA-2023:6171 · Red Hat ocp tools 4.11 el8 ·
  • RHSA-2023:3198 · Red Hat ocp tools 4.11 el8 ·
  • RHSA-2023:2097 · Red Hat satellite 6.13 el8, Red Hat satellite capsule 6.13 el8, Red Hat satellite maintenance 6.13 el8, Red Hat satellite utils 6.13 el8 ·
  • RHSA-2023:1043 · Red Hat red hat single sign on 7.6 el7 ·
  • RHSA-2024:0775 · Red Hat ocp tools 4.11 el8 ·
  • RHSA-2023:1044 · Red Hat red hat single sign on 7.6 el8 ·
  • RHSA-2023:1514 · Red Hat jboss enterprise application platform 7.4 el9 ·
  • RHSA-2023:1045 · Red Hat red hat single sign on 7.6 el9 ·
  • RHSA-2023:1513 · Red Hat jboss enterprise application platform 7.4 el8 ·
  • RHSA-2023:0697 · Red Hat openshift 4.10 el8 ·
  • RHSA-2023:1512 · Red Hat jboss enterprise application platform 7.4 el7 ·
  • RHSA-2022:9058 · Red Hat Enterprise Linux 8 appstream ·
  • RLSA-2022:9058 · Rocky Linux 8 ·
  • ALSA-2022:9058 · AlmaLinux 8 ·

Stack: system

Affected products and versions

  • snakeyaml

    Versions
    • ≥ 0, ≤ 2.0: Affected (custom)

    No fix published

  • snakeyaml Debian 12

    Versions
    • 1.33-2
    • 2.0+ds+really1.33-1
    • 2.0+ds-1
    • 2.4+ds-1~exp0
    • 2.5+ds-1
    • 2.5+ds-1~exp0
    All versions (7)
    • 2.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Debian 13

    Versions
    • 2.0+ds+really1.33-1
    • 2.4+ds-1~exp0
    • 2.5+ds-1
    • 2.5+ds-1~exp0
    • 2.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Debian 14

    Versions
    • 2.0+ds+really1.33-1
    • 2.4+ds-1~exp0
    • 2.5+ds-1
    • 2.5+ds-1~exp0
    • 2.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Ubuntu Pro 14.04 LTS

    Versions
    • 1.12-2
    • 1.12-2ubuntu0.14.04.1~esm1
    • 1.12-2ubuntu0.14.04.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Ubuntu Pro 16.04 LTS

    Versions
    • 1.12-2
    • 1.12-2ubuntu0.16.04.1~esm1
    • 1.12-2ubuntu0.16.04.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Ubuntu Pro 18.04 LTS

    Versions
    • 1.17-1
    • 1.19-1
    • 1.20-1
    • 1.23-1~18.04
    • 1.23-1+deb10u1build0.18.04.1
    • 1.23-1+deb10u1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Ubuntu Pro 20.04 LTS

    Versions
    • 1.23-1
    • 1.25+ds-2
    • 1.25+ds-2ubuntu0.1
    • 1.25+ds-2ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Ubuntu 22.04 LTS

    Versions
    • 1.28-1
    • 1.29-1
    • 1.29-1ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • snakeyaml Ubuntu 24.04 LTS

    Versions
    • 1.33-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →