ramparts 0.8.1〜0.8.10にスキャン回避の脆弱性、ネスト化した.pycに悪意あるコードを隠せる
Summary
ramparts 0.8.1から0.8.10では、ネストしたディレクトリと.pycファイルがスキャン対象から外れるため、悪意あるコードを含むスキルバンドルを検出されずに配布できます。CPythonは該当の.pycを実行するため、スキルの実行時に被害が起きるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
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.
ramparts 0.8.1から0.8.10では、ネストしたディレクトリと.pycファイルがスキャン対象から外れるため、悪意あるコードを含むスキルバンドルを検出されずに配布できます。CPythonは該当の.pycを実行するため、スキルの実行時に被害が起きるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| highflame-ai | ramparts |
0.8.1 – 0.8.10 |
— |
Original description The description as published by the source.
Highflame ramparts 0.8.1 through 0.8.10 contains a security scan bypass vulnerability that allows attackers to hide malicious payloads because collect_bundle_siblings and walk_bundle_subdir skip nested directories and .pyc files. Attackers can distribute a skill bundle with an unchecked-hash .pyc under scripts//pycache/ that ramparts silently ignores, while CPython executes it when the skill runs.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com