CVE-2022-25857Snakeyaml Project Snakeyaml
High 7.5 No auth needed
Follow: this CVE · Snakeyaml Project · Snakeyaml Project Snakeyaml We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Aug 30, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-776
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.
What to do
- Apply the vendor's security update for Snakeyaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.yaml:snakeyaml |
< 1.31 |
1.31 |
— |
Per OSV / GitHub Advisories (GHSA-3mc7-4q67-w48m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| snakeyaml_project | snakeyaml | < 1.31 |
| debian | debian_linux | 10.0 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.9.56 security update · Red Hat · RHSA-2023:0777 · Aug 5, 2026 Critical
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 OpenShift Jenkins security update · Red Hat · RHSA-2023:6179 · Apr 4, 2026 Critical
- Red Hat Security Advisory: jenkins and jenkins-2-plugins security update · Red Hat · RHSA-2024:0777 · Oct 2, 2024 High
Also: Red Hat (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bitbucket.org Patch Third Party Advisory
- bitbucket.org Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com
- security.snyk.io Exploit Patch Third Party Advisory