sbp commented on issue #312:
URL: 
https://github.com/apache/tooling-trusted-releases/issues/312#issuecomment-3533436592

   @dave2wave Some relevant criteria from [ASVS 
v5](https://raw.githubusercontent.com/OWASP/ASVS/v5.0.0/5.0/OWASP_Application_Security_Verification_Standard_5.0.0_en.pdf):
   
   > 5.2.2 Verify that when the application accepts a file, either on its own 
or within an archive such as a zip file, it checks if the file extension 
matches an expected file extension and validates that the contents correspond 
to the type represented by the extension. This includes, but is not limited to, 
checking the initial ‘magic bytes’, performing image re‑writing, and using 
specialized libraries for file content validation. For L1, this can focus just 
on files which are used to make specific business or security decisions. For L2 
and up, this must apply to all files being accepted. [L1]
   >
   > 5.2.3 Verify that the application checks compressed files (e.g., zip, gz, 
docx, odt) against maximum allowed uncompressed size and against maximum number 
of files before uncompressing the file. [L2]
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to