kafe2に悪意あるYAMLファイルでコードを実行される脆弱性
Summary
kafe2の2.11.0までの版には、YAMLファイルの読み込み処理に安全でないデシリアライズの脆弱性があります。細工されたYAMLのfitファイルやdataファイルを読み込むと、利用者の権限で任意のPythonコードを実行されるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
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.
kafe2の2.11.0までの版には、YAMLファイルの読み込み処理に安全でないデシリアライズの脆弱性があります。細工されたYAMLのfitファイルやdataファイルを読み込むと、利用者の権限で任意のPythonコードを実行されるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PhiLFitterskafe2 |
≤ 2.11.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.
kafe2 through 2.11.0 contains an unsafe deserialization vulnerability in YamlReaderMixin that allows attackers to execute Python code by supplying crafted YAML fit or data files. Attackers can embed python/object/apply tags parsed by yaml.load() via kafe2go or from_file() to run code with the victim's privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com