CVE catalog

CVE-2022-1471

snakeyaml: CVE-2022-1471

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
99.50% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansnakeyamlsid2.5+ds-1vulnerable
Debiansnakeyamlforky2.5+ds-1vulnerable
Debiansnakeyamltrixie2.0+ds+really1.33-1vulnerable
Debiansnakeyamlbookworm1.33-2vulnerable
Ubuntusnakeyamlpro1.23-1vulnerable
Ubuntusnakeyamlpro1.25+ds-2vulnerable
Ubuntusnakeyamlpro1.25+ds-2ubuntu0.1vulnerable
Ubuntusnakeyamlpro1.25+ds-2ubuntu0.1+esm1vulnerable
Ubuntusnakeyaml22.041.28-1vulnerable
Ubuntusnakeyaml22.041.29-1vulnerable
Ubuntusnakeyaml22.041.29-1ubuntu0.22.04.1vulnerable
Ubuntusnakeyaml24.041.33-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansnakeyamlsourcesid(unfixed)unimportantNot reportedNot reported
Debiansnakeyamlsourceforky(unfixed)unimportantNot reportedNot reported
Debiansnakeyamlsourcetrixie(unfixed)unimportantNot reportedNot reported
Debiansnakeyamlsourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [snakeyaml]

    Details (2)
    • 1.33-2 · all · bookworm

      Affected

      dsa · snakeyaml · debian · bookworm

    • 1.33-2 · all · bookworm

      Affected

      dsa · snakeyaml · debian · bookworm

  • Source package: [snakeyaml]

    Details (2)
    • 1.33-2 · all · bookworm

      Affected

      dsa · snakeyaml · debian · bookworm

    • 1.33-2 · all · bookworm

      Affected

      dsa · snakeyaml · debian · bookworm

Observed:

References