gonicに認証済みの低権限ユーザーが大量のメモリを消費させられる脆弱性
Summary
gonicの0.23.0までのバージョンには、アバター画像の宣言された寸法を確認せずにデコードする処理があり、メモリ枯渇が起きるおそれがあります。認証済みの低権限ユーザーが巨大な寸法を宣言した圧縮画像をアップロードすると、数GB規模のメモリ確保が発生し、全ユーザーに影響するクラッシュにつながります。修正版の情報は公開されていないため、最新の情報を確認してください。
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.
gonicの0.23.0までのバージョンには、アバター画像の宣言された寸法を確認せずにデコードする処理があり、メモリ枯渇が起きるおそれがあります。認証済みの低権限ユーザーが巨大な寸法を宣言した圧縮画像をアップロードすると、数GB規模のメモリ確保が発生し、全ユーザーに影響するクラッシュにつながります。修正版の情報は公開されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sentrizgonic |
≤ 0.23.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Gonic through 0.23.0 contains a memory exhaustion vulnerability in the POST /admin/change_avatar_do handler that decodes uploaded avatars without checking declared image dimensions. Authenticated low-privileged users can upload a compressible PNG, GIF, or JPEG declaring huge dimensions to force multi-gigabyte allocations and crash gonic for all users.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com