MEDIUM: Port validation allows ports above 65535 #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
File:
internal/handlers/app.go,parsePortValues()Severity: LOW-MEDIUM — Input validation gap
Description
The port validation only checks that ports are positive:
It does not check the upper bound. Valid TCP/UDP port numbers must be ≤ 65535. Passing values like 99999 would be stored in the database and later cause Docker container creation to fail with a confusing error.
Suggested Fix
yes, please fix this and give me a PR