HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart...
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| https://cpan.org/modules | HTTP-Body |
< 1.23_01 |
1.23_01 |
Original description The description as published by the source.
HTTP::Body versions before 1.23_01 for Perl leave the temporary file of an incomplete multipart upload on disk.
The multipart parser creates a temporary file as soon as a file part starts, but adds it to the upload list only when the part completes. Uploads are only ever deleted from that list, by the cleanup option or by the caller, so a body that ends inside a file part leaves its temporary file where nothing can find it.
A remote attacker can fill the temporary directory by repeating such requests, leaving one file behind for each.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web rt.cpan.org
- web github.com
- web metacpan.org
- web nvd.nist.gov
- web github.com