dataclasses-avroschema 能够从 Python dataclass、Pydantic 模型和 Faust Record 生成 Avro 模式,并从 Avro 模式生成 Python 代码。在 0.40.0 到 0.70.5 版本中, 方法将 Avro 模式记录中的 doc 值直接复制到生成的三重双引号(""")类文档字符串中,但未对引号或反斜杠进行转义。攻击者可以构造包含三重引号序列的恶意 doc 值,从而提前闭合文档字符串,并在生成的类主体中注入任意语句;同时,末尾的反斜杠还可以转义生成的闭合
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| marcosschroh | dataclasses-avroschema | >= 0.40.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.40.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-108381 | 8.8 HIGH | dataclasses-avroschema pydantic-class metadata allows code injection in generated annotati |
| 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