pybars4にコード実行の脆弱性、0.9.13以前が対象
Summary
Handlebarsテンプレートを扱うPythonライブラリpybars4の0.9.13以前に、細工したテンプレートでアプリ内のコードを実行される脆弱性が公表されました。利用者が書いたテンプレートを処理するシステムは、使用版を調べて修正版の有無を告知で確認してください。
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.
Handlebarsテンプレートを扱うPythonライブラリpybars4の0.9.13以前に、細工したテンプレートでアプリ内のコードを実行される脆弱性が公表されました。利用者が書いたテンプレートを処理するシステムは、使用版を調べて修正版の有無を告知で確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| up9inc | pybars4 |
≤ 0.9.13 |
— |
Original description The description as published by the source.
pybars4 through 0.9.13 contains a code injection vulnerability in pybars/_compiler.py that allows attackers to execute Python code via unescaped bracketed path segments in Handlebars templates. Attackers can supply a template with a crafted segment in a helper or block argument to break out of the generated resolve() string literal and execute code in the application process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com