YamlDotNetに細工したYAMLで処理が停止する脆弱性
Summary
YamlDotNetの18.1.0までには、自己参照するアンカー付きシーケンスをマッピングキーに使うYAML文書を読み込ませると、再帰処理が止まらなくなる脆弱性があります。認証なしで遠隔から攻撃でき、キャッチできない StackOverflowException によって、読み込みを行っているアプリケーションのプロセスごと終了させられます。 修正版については公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
YamlDotNetの18.1.0までには、自己参照するアンカー付きシーケンスをマッピングキーに使うYAML文書を読み込ませると、再帰処理が止まらなくなる脆弱性があります。認証なしで遠隔から攻撃でき、キャッチできない StackOverflowException によって、読み込みを行っているアプリケーションのプロセスごと終了させられます。 修正版については公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| aaubryYamlDotNet |
≤ 18.1.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
YamlDotNet through 18.1.0 contains an uncontrolled recursion vulnerability in YamlSequenceNode and YamlMappingNode GetHashCode that allows unauthenticated remote attackers to crash applications using YamlStream.Load. Attackers can supply a tiny YAML document with a self-aliasing anchored sequence used as a mapping key, triggering an uncatchable StackOverflowException that terminates the hosting process.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com