CVE-2022-38750: DoS in SnakeYAML
A flaw was found in the snakeyaml package due to a stack-overflow in parsing YAML files. By persuading a victim to open a specially-crafted file, a remote attacker could cause the application to crash.
Other sources
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 stackoverflow.
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2022-38750?
CVE-2022-38750 is a vulnerability found in the snakeyaml package that can be exploited to cause a denial of service (DoS) by triggering a stack overflow when parsing YAML files.
How does CVE-2022-38750 impact snakeyaml?
CVE-2022-38750 can impact snakeyaml if it is used to parse untrusted YAML files, allowing attackers to crash the parser through a DoS attack.
What is the severity of CVE-2022-38750?
CVE-2022-38750 has a severity rating of medium, with a severity value of 5.5.
Which software versions are affected by CVE-2022-38750?
The affected software versions include snakeyaml version up to exclusive 1.31, candlepin version 0:4.2.13-1.el8, rh-sso7-keycloak versions 0:18.0.6-1.redhat_00001.1.el7, 0:18.0.6-1.redhat_00001.1.el8, and 0:18.0.6-1.redhat_00001.1.el9.
How can CVE-2022-38750 be fixed?
To fix CVE-2022-38750, it is recommended to update to snakeyaml version 1.31 or later, or apply the specific remedies provided for candlepin and rh-sso7-keycloak versions.