imgproxyの脆弱性、細工したICO画像で認証なしにワーカーが停止のおそれ
Summary
imgproxy 3.3.0以降4.0.17より前のICO読み込み処理に、ヒープ領域の範囲外読み書きの脆弱性が見つかりました。認証なしの遠隔の攻撃者が細工したICO画像を送ると、glibcの異常終了によりワーカーがクラッシュするおそれがあります。修正版の4.0.17に更新してください。
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.
imgproxy 3.3.0以降4.0.17より前のICO読み込み処理に、ヒープ領域の範囲外読み書きの脆弱性が見つかりました。認証なしの遠隔の攻撃者が細工したICO画像を送ると、glibcの異常終了によりワーカーがクラッシュするおそれがあります。修正版の4.0.17に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| imgproxyimgproxy |
≥ 3.3.0, < 4.0.17→ 4.0.17 |
4.0.17 |
| Gogithub.com/imgproxy/imgproxy/v3 |
≥ 3.3.0 (no fix yet)→ Not listed |
Not listed |
| Gogithub.com/imgproxy/imgproxy |
All versions→ Not listed |
Not listed |
| Gogithub.com/imgproxy/imgproxy/v2 |
All versions→ Not listed |
Not listed |
| Gogithub.com/imgproxy/imgproxy/v4 |
< 4.0.17→ 4.0.17 |
4.0.17 |
Original description The description as published by the source.
imgproxy 3.3.0 before 4.0.17 contains an out-of-bounds heap read and write in the ICO loader's BMP header reconstruction (vips_foreign_load_ico_header in vips/icoload.c) when an ICO entry declares a tiny data size, causing unvalidated header fields to be read and written past the allocated buffer. Unauthenticated remote attackers can supply a crafted ICO image to corrupt adjacent heap chunk metadata, triggering a glibc abort that crashes the worker.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com