一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-70377 [HIGH] – imagecli’s pipeline operation (Scale::apply in src/image_ops.rs) computes output width/hei

未分类
📑 文章目录

imagecli’s pipeline operation (Scale::apply in src/image_ops.rs) computes output width/height as (dimension as f32 * ratio) as u32 with no upper-bound validation on the CLI-supplied ratio, which is parsed via nom::number::complete::float with no range check. Any application embedding imagecli as a library and accepting user-controlled pipeline strings is remotely crashable with a single request.