CVE-2022-41854
published medium CVSS 3.1 · 5.8Stack Overflow in Snakeyaml
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SnakeYaml | — | SnakeYamlunspecified to < 1.32 | Affected | Not stated | |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-375 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | snakeyamlnoarch | Listed in advisory | Not stated | ALAS2023-2023-375 |
| Amazon Linux | AL2023 | snakeyamlsrc | Listed in advisory | Not stated | ALAS2023-2023-375 |
Description
Those using Snakeyaml to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack overflow. This effect may support a denial of service attack.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SnakeYaml | SnakeYaml | unspecified to < 1.32 (affected · custom) | Google · cna |
Weaknesses
1- CWE-121 CWE-121 Stack-based Buffer Overflow
References
6- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50355
- FEDORA-2023-27ec59a486 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DDXEXXWAZGF5AVHIPGFPXIWL6TSMKJE/
- FEDORA-2022-c01dd659fa https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MKE4XWRXTH32757H7QJU4ACS67DYDCR/
- FEDORA-2022-8a4e8aa190 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KSPAJ5Y45A4ZDION2KN5RDWLHK4XKY2J/
- https://security.netapp.com/advisory/ntap-20240315-0009/
- https://security.netapp.com/advisory/ntap-20240621-0006/
Provider assertions
2Google · cna
Stack Overflow in Snakeyaml
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5112f61b4107dc9c0ea4d78ce5370374caf8e12c928b3715719a18e259a64a96
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record