תיאור (מקור, אנגלית)
datamodel-code-generator generates Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON, YAML, or CSV. Prior to 0.62.0, datamodel-code-generator resolves JSON Schema $ref targets in src/datamodel_code_generator/parser/jsonschema.py through is_url and _get_ref_body without containing file:// or ../ traversal references to the input directory and without honoring --no-allow-remote-refs, allowing arbitrary local file reads. This issue is fixed in version 0.62.0.
מוצרים מושפעים
koxudaxi: datamodel-code-generator
קישורים4
- github.com/koxudaxi/datamodel-code-generator/security/advisori… ExploitVendor Advisory
- github.com/koxudaxi/datamodel-code-generator/security/advisori… ExploitVendor Advisory
- github.com/koxudaxi/datamodel-code-generator/commit/2ff4a72b45… Patch
- github.com/koxudaxi/datamodel-code-generator/releases/tag/0.62.0 Release Notes
מדדים
- CVSS 3.1
-
7.5
HIGH
מקור הציון: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS — סבירות ניצול
- 1% אחוזון 46 · נכון ל-13 בנובמבר 2026
- CWE
- CWE-22CWE-200CWE-610
האם אפשר לנצל את הפגיעות הזו אצלכם?
עדכון אבטחה סוגר את הפרצה הידועה. בדיקת חדירות מראה לאן תוקף עדיין יכול להגיע — עם הוכחה.