Pydantic Deepに認証不要で内部情報を読まれる脆弱性、0.4.0で修正
Summary
Pydantic Deepの0.2.18以上0.4.0未満で、/export/pdfを通じてサーバー内部のURLへのアクセスやローカルファイルの読み取りが起きる脆弱性が公表されました。認証なしで送れる/uploadからレポートにHTMLを仕込めるため、影響を受ける版を使っている場合は早めの対応が必要です。修正版は0.4.0で、更新して対応してください。
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.
Pydantic Deepの0.2.18以上0.4.0未満で、/export/pdfを通じてサーバー内部のURLへのアクセスやローカルファイルの読み取りが起きる脆弱性が公表されました。認証なしで送れる/uploadからレポートにHTMLを仕込めるため、影響を受ける版を使っている場合は早めの対応が必要です。修正版は0.4.0で、更新して対応してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| vstorm-coPydantic Deep |
≥ 0.2.18, < 0.4.0→ 0.4.0 |
0.4.0 |
Original description The description as published by the source.
Pydantic Deep 0.2.18 before 0.4.0 contains a server-side request forgery and local file read vulnerability in the DeepResearch export_report handler for /export/pdf. Attackers can inject raw HTML into reports via the unauthenticated /upload endpoint, causing WeasyPrint to fetch internal URLs and embed local server files into exported PDFs.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com