fast_image_resizeに整数オーバーフローの脆弱性、画像バッファ外の読み書きでメモリ破損のおそれ
Summary
fast_image_resizeの6.2.0より前には、check_crop_box()で整数オーバーフローが起きる脆弱性があります。切り抜き座標に非常に大きな幅や高さを指定されると、画像バッファの外を読み書きされ、メモリ破損やクラッシュにつながるおそれがあります。修正版の6.2.0で修正されているため、6.2.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.
fast_image_resizeの6.2.0より前には、check_crop_box()で整数オーバーフローが起きる脆弱性があります。切り抜き座標に非常に大きな幅や高さを指定されると、画像バッファの外を読み書きされ、メモリ破損やクラッシュにつながるおそれがあります。修正版の6.2.0で修正されているため、6.2.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Cykoozfast_image_resize |
< 6.2.0→ 6.2.0 |
6.2.0 |
Original description The description as published by the source.
Cykooz fast_image_resize before 6.2.0 contains an integer overflow vulnerability in check_crop_box() that allows attackers to bypass crop box validation via unchecked u32 additions that wrap in release builds. Attackers supplying crop coordinates with very large width or height can cause iter_rows and iter_rows_mut to read or write outside the image buffer, causing memory corruption or crashes.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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
- web github.com