andrewmusselman opened a new issue, #776: URL: https://github.com/apache/tooling-trusted-releases/issues/776
**Source:** ASVS 2.2.1 Finding MEDIUM-003 **CWE:** CWE-20 (Improper Input Validation) **Locations:** - `atr/shared/vote.py` — `CastVoteForm` - `atr/post/voting.py`, lines 95–105 #### Description Vote comments, email bodies, and resolution text are accepted without length limits. Oversized content could cause email delivery failures, storage exhaustion, or abuse of mailing list archives. #### Recommendation - Add `max_length` constraints to vote comment fields (e.g., 5,000 characters) - Add length limits to email body generation (e.g., 50,000 characters) -- 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]
