Vulnerability Information
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.
Vulnerability Title
Mailpit: Thumbnail generation decodes unbounded image dimensions before scaling
Vulnerability Description
Mailpit is an email testing tool and API for developers. Prior to 1.30.4, Mailpit decodes attacker-supplied image attachments into a full raster before checking decoded dimensions, pixel count, or memory use in the GET /api/v1/message/{id}/part/{partID}/thumb endpoint. The Thumbnail handler in server/apiv1/thumbnails.go obtains attachment bytes through storage.GetAttachmentPart(), accepts image/* content, and calls imaging.Decode() with AutoOrientation before imaging.Fill() scales the image to 180 by 120 pixels. A compact image declaring very large dimensions can therefore consume disproportionately large memory and CPU, and opening the message UI can trigger the same endpoint through server/ui-src/components/message/MessageAttachments.vue. This can degrade availability when an unauthenticated client can store the crafted attachment and reach the web API. This issue is fixed in version 1.30.4.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Vulnerability Title
axllent mailpit 资源管理错误漏洞
Vulnerability Description
axllent mailpit是axllent个人开发者开源的一款邮件测试与调试工具。 axllent mailpit 1.30.4之前版本存在资源管理错误漏洞,该漏洞源于在生成缩略图时未先检查解码尺寸、像素数或内存使用情况即完整解码攻击者提供的图像附件,可能导致大量内存和CPU消耗,降低服务可用性。
CVSS Information
N/A
Vulnerability Type
N/A