| Title | Express.jsのMulterにおける不完全なクリーンアップに関する脆弱性 |
|---|---|
| Summary | 影響: multer バージョン 2.0.0-alpha.1 から 2.1.1 および 3.0.0-alpha.1 には、diskStorage を使用する際にサービス拒否(DoS)脆弱性があります。不正または中断された multipart アップロードでは、Readable.pipe() の呼び出しがストリームの破棄信号を基盤となる fs.WriteStream に伝播しないため、ディスク上に孤立した部分ファイルが残ります。攻撃者は多くの中断されたアップロードを発生させることで、アプリケーションのバグを利用することなくディスク容量を枯渇させることが可能です。修正方法として、ユーザーは multer 2.2.0(2.x 系)または 3.0.0-alpha.2(3.x プレリリース)にアップグレードする必要があります。これらのバージョンは転送中の書き込みストリームを追跡し、中断された経路でそれらを適切にクリーンアップします。回避策は存在しません。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | June 15, 2026, midnight |
| Registration Date | June 17, 2026, 3:39 p.m. |
| Last Update | June 17, 2026, 3:39 p.m. |
| CVSS3.0 : 重要 | |
| Score | 7.5 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Express.js |
| Multer 2.0.0 以上 2.2.0 未満 |
| Multer 3.0.0 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月17日] 掲載 |
June 17, 2026, 3:39 p.m. |
| Summary | Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path. Workarounds: None. |
|---|---|
| Publication Date | June 16, 2026, 1:16 a.m. |
| Registration Date | June 16, 2026, 4:12 a.m. |
| Last Update | June 17, 2026, 1:59 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:expressjs:multer:*:*:*:*:*:node.js:*:* | 2.0.0 | 2.2.0 | |||
| cpe:2.3:a:expressjs:multer:3.0.0:alpha1:*:*:*:node.js:*:* | |||||