datamodel-code-generator 是一种从模式定义(schema definitions)生成 Python 数据模型的开源工具。在版本 0.59.0 至 0.81.0 之间,存在一个安全漏洞:攻击者可以构造恶意的 Protocol Buffers(Protobuf)模式文件,其中包含通过 WEAK_IMPORT_PATTERN 捕获的绝对路径或父目录路径。这些路径随后被 src/datamodel_code_generator/parser/protobuf.py 中的 _write_missin
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| datamodel-code-generator | datamodel-code-generator | >= 0.59.0, < 0.81.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| datamodel-code-generator | datamodel-code-generator | >= 0.59.0, < 0.81.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet