dataclasses-avroschema 可从 Python dataclasses、Pydantic 模型以及 Faust Records 生成 Avro 架构,并能从 Avro 架构生成 Python 代码。在 0.44.0 至 0.70.5 版本中,Pydantic 和 AvroDantic 模型生成器在生成的字段注解中,会在 之后直接插入架构字段的 值,且未对表达式进行安全限制。由于注解在导入生成的模块时会被求值,构造的恶意值可能执行任意 Python 代码。0.70.6 版本通过将该值限制为裸标识符(
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| marcosschroh | dataclasses-avroschema | >= 0.44.0, < 0.70.6 |
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 |
|---|---|---|---|---|
| marcosschroh | dataclasses-avroschema | >= 0.44.0, < 0.70.6 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-108376 | 8.8 HIGH | dataclasses-avroschema allows code injection through record names in generated default fac |
| CVE-2026-108375 | 8.8 HIGH | dataclasses-avroschema allows code injection through generated field-default literals |
| CVE-2026-108377 | 8.8 HIGH | dataclasses-avroschema allows code injection through generated Meta.schema_name |
| CVE-2026-108380 | 8.8 HIGH | dataclasses-avroschema field documentation allows code injection in generated Pydantic des |
| CVE-2026-108378 | 8.8 HIGH | dataclasses-avroschema record documentation can terminate generated class docstrings |
| CVE-2026-108379 | 8.8 HIGH | dataclasses-avroschema fixed namespaces allow code injection in generated annotations |
| CVE-2026-108382 | 8.8 HIGH | dataclasses-avroschema allows code injection through generated enum-symbol string literals |
| CVE-2026-108383 | 8.8 HIGH | dataclasses-avroschema enum field defaults can inject statements into generated modules |
| CVE-2026-108385 | 8.8 HIGH | dataclasses-avroschema enum symbols can inject statements through generated member names |
| CVE-2026-108384 | 8.8 HIGH | dataclasses-avroschema allows code injection through fixed-type aliases supplied as a bare |
No comments yet