Closed
Description
Query PR
Language
Go
CVE(s) ID list
- CVE-2023-26483 includes both formValue as user controlled source and a zipBomb sink
- CVE-2023-28119
- CVE-2023-0475 is a root cause of CVE-2023-0821 which both marked as a DOS
Report
Extracting Compressed files with any compression algorithm like gzip can cause to denial of service attacks. Attackers can compress a huge file which created by repeated similar byte and convert it to a small compressed file.
Added modeling for multiple Go CLI third parties.
Added modeling for User controlled remote sources for multipart/file uploads.
The only good sanitizer that I found is using of "io.LimitReader" and "io.CopyN" which the query will sanitize the results that contain these two methods.
Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc).
Yes