imgproxyのICO読み込み処理に脆弱性、認証なしでメモリを枯渇させられる
Summary
imgproxy 3.3.0から4.0.16より前の版には、ICO読み込み処理でdata_sizeの検証が不足している脆弱性があります。細工した23バイトのICOファイルで約4GBのメモリ確保を誘発でき、認証なしでメモリ枯渇とワーカーのクラッシュを招くおそれがあります。修正版の4.0.16で対処できます。
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.16より前の版には、ICO読み込み処理でdata_sizeの検証が不足している脆弱性があります。細工した23バイトのICOファイルで約4GBのメモリ確保を誘発でき、認証なしでメモリ枯渇とワーカーのクラッシュを招くおそれがあります。修正版の4.0.16で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| imgproxyimgproxy |
≥ 3.3.0, < 4.0.16→ 4.0.16 |
4.0.16 |
| 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.16→ 4.0.16 |
4.0.16 |
Original description The description as published by the source.
imgproxy from 3.3.0 before 4.0.16 contains an unbounded memory allocation vulnerability in the ICO loader that fails to validate the data_size field. Attackers can supply a crafted 23-byte ICO file declaring a ~4GB data_size to trigger memory exhaustion and worker crashes without authentication.
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
- web github.com
- web github.com